Méthode | Description | |
---|---|---|
AddListener ( string sourceName, |
Adds a listener to the source with the given sourceName.
|
|
RemoveListener ( string sourceName, string listenerName ) : void |
Removes a listener from the source with the given sourceName.
|
|
RemoveListener ( this tracer, string sourceName, string listenerName ) : void |
Removes the listener with the given name from the specified source.
|
|
SetTracer ( ITracer tracer ) : IDisposable |
Sets the Tracer internal ITracer implementation.
|
|
SetTracingLevel ( string sourceName, SourceLevels level ) : void |
Sets the tracing level for the source with the given sourceName
|
public static AddListener ( string sourceName, |
||
sourceName | string | |
listener | ||
Résultat | void |
public static RemoveListener ( string sourceName, string listenerName ) : void | ||
sourceName | string | |
listenerName | string | |
Résultat | void |
public static RemoveListener ( this tracer, string sourceName, string listenerName ) : void | ||
tracer | this | |
sourceName | string | |
listenerName | string | |
Résultat | void |
public static SetTracer ( ITracer tracer ) : IDisposable | ||
tracer | ITracer | The tracer to replace the default diagnostics tracer with. |
Résultat | IDisposable |
public static SetTracingLevel ( string sourceName, SourceLevels level ) : void | ||
sourceName | string | |
level | SourceLevels | |
Résultat | void |