TraceSourceLoggingBackend.GetTraceSource Method |
Namespace: PostSharp.Patterns.Diagnostics.Backends.TraceSource
Assembly: PostSharp.Patterns.Diagnostics.Backends.Tracing (in PostSharp.Patterns.Diagnostics.Backends.Tracing.dll) Version: 2023.0.3.0 (2023.0.3.0)
public static TraceSource GetTraceSource( string name )
Parameters
- name
- Type: System.String
The name of the TraceSource.
Return Value
Type: TraceSourceA TraceSource named name. Two calls of this methods are guaranteed to return the same instance, unless the previous instance has been garbage collected in the meantime.