Logger Class
Manages the collection and reporting of logging information in a system.
Namespace: Gemstone.DiagnosticsAssembly: Gemstone.Diagnostics (in Gemstone.Diagnostics.dll) Version: 1.0.141 -- Release Build+feef1218a72ae5274f0e1c6b43fb1b901eedc726
public static class Logger
Public NotInheritable Class Logger
public ref class Logger abstract sealed
Gemstone.Diagnostics.Logger = function();
Type.createClass(
'Gemstone.Diagnostics.Logger');
- Inheritance
- Object Logger
AppendStackMessages(LogStackMessages) |
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, String) |
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 |
Creates a LogSubscriber |
GetStackMessages |
Searches the current stack frame for all related messages that will be published with this message.
|
OverrideSuppressLogMessages |
Sets a flag that will allow log messages to be raised again.
Remember to dispose of the callback to remove this override.
|
SuppressFirstChanceExceptionLogMessages |
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 |
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.
|
Console |
The default console based log subscriber.
|
FileWriter |
The default file based log writer.
|