PostSharp.Patterns.Diagnostics.Custom Namespace |
Class | Description | |
---|---|---|
InvalidFormattingStringException |
Exception thrown by the FormattingStringParser and by the Logger class
when user code provides an invalid formatting string.
| |
LegacySourceLogger |
A base class for implementations of ILogger that cannot depend on the PostSharp.Patterns.Diagnostics package.
| |
LogLevelSource |
Structure | Description | |
---|---|---|
CustomLogParameterOptions |
Options of the WriteCustomParameter``1(Int32, CharSpan, UMP, CustomLogParameterOptions) method.
| |
CustomLogRecordOptions |
Options of the BeginWriteItem(CustomLogRecordItem, CustomLogRecordTextOptions) method.
| |
CustomLogRecordTextOptions |
Options of the BeginWriteItem(CustomLogRecordItem, CustomLogRecordTextOptions) method.
| |
FormattingStringParser |
Parses the formatting string for custom messages of the Logger and LogActivity classes.
|
Interface | Description | |
---|---|---|
IContextLocalLogger |
Abstraction of custom logging methods where the contact has already been resolved.
| |
ICustomLogRecordBuilder |
Allows to build a custom log record (typically, but not necessarily, a string). A log record can be composed of one of several
items.
| |
ILogActivityOptions |
Exposes the default verbosity of the Logger and LogActivity classes when creating and closing activities.
| |
ILogger |
Abstraction of the Logging facility, through which other components emit their log records. This
interfaces abstracts other PostSharp components from the PostSharp.Patterns.Diagnostics component.
| |
ILogger2 |
Extends ILogger.
| |
ILoggerExceptionHandler | ||
ILoggerFactory |
Creates instances of the ILogger interface. An instance of this interface must be registered into the ServiceLocator.
| |
ILoggerFactory2 |
Creates instances of the ILogger2 interface.
| |
ILoggerFactoryProvider |
Creates instances of ILoggerFactory2. An instance of this interface must be registered into the ServiceLocator.
|
Enumeration | Description | |
---|---|---|
CustomLogParameterMode |
Determines how a parameter of a custom record should be rendered by the WriteCustomParameter``1(Int32, CharSpan, UMP, CustomLogParameterOptions)
method.
| |
CustomLogRecordAttributes |
Attributes of the CustomLogParameterOptions class. Describes how the ICustomLogRecordBuilder will be used.
| |
CustomLogRecordItem |
Enumerates the situations in which an IMessage can be rendered.
|