Свойство | Тип | Описание | |
---|---|---|---|
ClearEvents | void | ||
FormatDuration | string | ||
FormatStringSafe | string | ||
FormatTime | string | ||
GenerateTypeMethodName | string | ||
Instrument | void | ||
Instrument | void | ||
Instrument | void | ||
TraceMsg | void |
Метод | Описание | |
---|---|---|
Dispose ( ) : void |
Generate a leaving method trace. Normally called at the end of an using statement. When the method is left with an exception and Exception tracing is enabled it will trace this exception. |
|
Error ( |
Write an exception to the configured output device.
|
|
Error ( |
Write an exception to the configured output device.
|
|
Error ( Level level, |
Write an exception to the configured output device.
|
|
Error ( Level level, |
Write an exception to the configured output device.
|
|
Error ( Level level, |
Write an exception to the configured output device.
|
|
Error ( Level level, |
Write an exception to the configured output device.
|
|
Error ( Level level, |
Write an error trace to the configured output device.
|
|
Error ( Level level, string fmt ) : void |
Write an error trace to the configured output device.
|
|
Error ( string fmt ) : void |
Write an error trace to the configured output device.
|
|
ErrorExecute ( System.Action action ) : bool |
Execute the given callback when the current trace level and error severit filter let it pass.
|
|
Execute ( MessageTypes msgType, Level level, |
Executes the callback when the given trace level is enabled. That allows when tracing is enabled complex string formatting only when needed.
|
|
Info ( Level level, |
Trace an info message with a given level.
|
|
Info ( Level level, string fmt ) : void |
Trace an info message.
|
|
Info ( string fmt ) : void |
Trace an info message with the trace level used during construction of the Tracer instance. If none default is Level 1.
|
|
InfoExecute ( System.Action action ) : bool |
Execute the given callback when the current trace level and info severity filter let it pass.
|
|
Tracer ( Level level, |
Create a new Tracer which traces method enter and leave (on Dispose)
|
|
Tracer ( |
Create a new Tracer which traces method enter and leave (on Dispose)
|
|
Warning ( Level level, |
Write a warning trace to the configured output device.
|
|
Warning ( Level level, string fmt ) : void |
Write a warning trace to the configured output device.
|
|
Warning ( string fmt ) : void |
Write a warning trace to the configured output device.
|
|
WarningExecute ( System.Action action ) : bool |
Execute the given callback when the current trace level and warning severity filter let it pass.
|
Метод | Описание | |
---|---|---|
ClearEvents ( ) : void | ||
FormatDuration ( long duration ) : string | ||
FormatStringSafe ( string fmt ) : string | ||
FormatTime ( System.DateTime time ) : string | ||
GenerateTypeMethodName ( |
||
Instrument ( Level level, |
||
Instrument ( Level level, string fmt ) : void | ||
Instrument ( string fmt ) : void | ||
TraceMsg ( string msgTypeString, string typeMethodName, System.DateTime time, string fmt ) : void |
public Error ( |
||
ex | The exception to trace. | |
Результат | void |
public Error ( |
||
ex | The exception to trace. | |
fmt | string | Message describing what the exception is about. |
Результат | void |
public Error ( Level level, |
||
level | Level | Trace Level. 1 is the high level overview, 5 is for high volume detailed traces. |
ex | The exception to trace. | |
Результат | void |
public Error ( Level level, |
||
level | Level | Trace Level. 1 is the high level overview, 5 is for high volume detailed traces. |
ex | The exception to trace. | |
fmt | string | Message describing what the exception is about. |
Результат | void |
public static Error ( Level level, |
||
level | Level | Trace Level. 1 is the high level overview, 5 is for high volume detailed traces. |
type | /// TypeHandle instance which identifies your class type. This instance should be a static instance of /// your type. /// | |
method | string | The method name of your current method. |
ex | The excepton to trace. | |
Результат | void |
public static Error ( Level level, |
||
level | Level | Trace Level. 1 is the high level overview, 5 is for high volume detailed traces. |
type | /// TypeHandle instance which identifies your class type. This instance should be a static instance of /// your type. /// | |
method | string | The method name of your current method. |
ex | The exception to trace. | |
fmt | string | Message describing what the exception is about. |
Результат | void |
public static Error ( Level level, |
||
level | Level | Trace Level. 1 is the high level overview, 5 is for high volume detailed traces. |
type | /// TypeHandle instance which identifies your class type. This instance should be a static instance of /// your type. /// | |
method | string | The method name of your current method. |
fmt | string | Trace message format string |
Результат | void |
public Error ( Level level, string fmt ) : void | ||
level | Level | Trace Level. 1 is the high level overview, 5 is for high volume detailed traces. |
fmt | string | Trace message format string |
Результат | void |
public Error ( string fmt ) : void | ||
fmt | string | Trace message format string |
Результат | void |
public ErrorExecute ( System.Action action ) : bool | ||
action | System.Action | The action. |
Результат | bool |
public static Execute ( MessageTypes msgType, Level level, |
||
msgType | MessageTypes | The message type which must match. |
level | Level | The trace level which must match. |
type | TypeHandle of your class. | |
action | System.Action | The delegate to execute when it does match. |
Результат | bool |
public static Info ( Level level, |
||
level | Level | Trace Level. 1 is the high level overview, 5 is for high volume detailed traces. |
type | /// TypeHandle instance which identifies your class type. This instance should be a static instance of /// your type. /// | |
method | string | The method name of your current method. |
fmt | string | Trace message format string |
Результат | void |
public Info ( Level level, string fmt ) : void | ||
level | Level | Used Trace Level |
fmt | string | Trace message format string |
Результат | void |
public Info ( string fmt ) : void | ||
fmt | string | Trace message format string |
Результат | void |
public InfoExecute ( System.Action action ) : bool | ||
action | System.Action | The action. |
Результат | bool |
public Tracer ( Level level, |
||
level | Level | Trace Level. 1 is the high level overview, 5 is for high volume detailed traces. |
type | /// TypeHandle instance which identifies your class type. This instance should be a static instance of /// your type. /// | |
method | string | The method name of your current method. |
Результат | System |
public Tracer ( |
||
type | /// TypeHandle instance which identifies your class type. This instance should be a static instance of /// your type. /// | |
method | string | The method name of your current method. |
Результат | System |
public static Warning ( Level level, |
||
level | Level | Trace Level. 1 is the high level overview, 5 is for high volume detailed traces. |
type | /// TypeHandle instance which identifies your class type. This instance should be a static instance of /// your type. /// | |
method | string | The method name of your current method. |
fmt | string | Trace message format string |
Результат | void |
public Warning ( Level level, string fmt ) : void | ||
level | Level | Trace Level. 1 is the high level overview, 5 is for high volume detailed traces. |
fmt | string | Trace message format string |
Результат | void |
public Warning ( string fmt ) : void | ||
fmt | string | Trace message format string |
Результат | void |
public WarningExecute ( System.Action action ) : bool | ||
action | System.Action | The action. |
Результат | bool |