Property | Type | Description | |
---|---|---|---|
CurrentDomain_FirstChanceException | void | ||
CurrentDomain_UnhandledException | void | ||
DisposeStackMessage | void | ||
DisposeSuppressionFlags | void | ||
GrowStackDisposal | void | ||
Initialize | void | ||
Logger | System | ||
Shutdown | void |
Method | Description | |
---|---|---|
AppendStackMessages ( LogStackMessages messages ) : IDisposable |
Temporarily appends data to the thread's stack so the data can be propagated to any messages generated on this thread. Be sure to call Dispose on the returned object to remove this from the stack.
|
|
AppendStackMessages ( string key, string value ) : IDisposable |
Temporarily appends data to the thread's stack so the data can be propagated to any messages generated on this thread. Be sure to call Dispose on the returned object to remove this from the stack.
|
|
CreatePublisher ( |
Looks up the type of the log source
|
|
CreateSubscriber ( VerboseLevel level = VerboseLevel.None ) : |
Creates a LogSubscriber
|
|
GetStackMessages ( ) : LogStackMessages |
Searches the current stack frame for all related messages that will be published with this message.
|
|
OverrideSuppressLogMessages ( ) : IDisposable |
Sets a flag that will allow log messages to be raised again. Remember to dispose of the callback to remove this override.
|
|
SuppressFirstChanceExceptionLogMessages ( ) : IDisposable |
Sets a flag that will prevent First Chance Exception log messages from being raised on this thread. Remember to dispose of the callback to remove this suppression.
|
|
SuppressLogMessages ( ) : IDisposable |
Sets a flag that will prevent log messages from being raised on this thread. Remember to dispose of the callback to remove this suppression.
|
|
SwallowException ( |
Logs that a first chance exception was intentionally not handled for the provided reason. In the LogFileViewer it will filter messages differently if it was indicated that they were swallowed.
|
Method | Description | |
---|---|---|
CurrentDomain_FirstChanceException ( object sender, System e ) : void | ||
CurrentDomain_UnhandledException ( object sender, |
||
DisposeStackMessage ( int depth ) : void | ||
DisposeSuppressionFlags ( int depth ) : void | ||
GrowStackDisposal ( int desiredSize ) : void | ||
Initialize ( ) : void |
Ensures that the logger has been initialized.
|
|
Logger ( ) : System | ||
Shutdown ( ) : void |
Ensures that the logger is properly shutdown. This is called from ShutdownHandler.
|
public static AppendStackMessages ( LogStackMessages messages ) : IDisposable | ||
messages | LogStackMessages | |
return | IDisposable |
public static AppendStackMessages ( string key, string value ) : IDisposable | ||
key | string | |
value | string | |
return | IDisposable |
public static CreatePublisher ( |
||
type | the type | |
classification | MessageClass | the classification of the type of messages that this publisher will raise. |
return |
public static CreateSubscriber ( VerboseLevel level = VerboseLevel.None ) : |
||
level | VerboseLevel | |
return |
public static GetStackMessages ( ) : LogStackMessages | ||
return | LogStackMessages |
public static OverrideSuppressLogMessages ( ) : IDisposable | ||
return | IDisposable |
public static SuppressFirstChanceExceptionLogMessages ( ) : IDisposable | ||
return | IDisposable |
public static SuppressLogMessages ( ) : IDisposable | ||
return | IDisposable |
public static SwallowException ( |
||
ex | the exception that was swallowed | |
message | string | message to include, such as a reason why it was swallowed. |
details | string | additional details. |
additionalFlags | MessageFlags | additional flags that can be set with this swallowed exception. |
return | void |