LoggingBackend Methods |
The LoggingBackend type exposes the following members.
Name | Description | |
---|---|---|
CreateAsyncCustomActivityContext |
Creates a new AsyncCustomActivityLoggingContext.
| |
CreateAsyncMethodContext |
Creates a new AsyncMethodLoggingContext for a given async method.
| |
CreateContextLocalConfiguration |
Creates a new LoggingContextLocalConfiguration.
| |
CreateEphemeralContext |
Creates a new EphemeralLoggingContext.
| |
CreateExecutionContextData |
Creates a new empty instance of ExecutionContextData possibly of a subclass which can hold backend-specific data.
| |
CreateIteratorContext |
Creates a new IteratorLoggingContext for a given iterator method.
| |
CreateRecordBuilder |
Creates a new LogRecordBuilder.
| |
CreateSyncCustomActivityContext |
Creates a new SyncCustomActivityLoggingContext.
| |
CreateSyncMethodContext |
Creates a new SyncMethodLoggingContext for a given normal (non-async, non-iterator) method.
| |
CreateThreadContext |
Creates a new ThreadLoggingContext.
| |
CreateTransaction |
Creates a LoggingTransaction instance.
| |
CreateTypeSource |
Creates a LoggingTypeSource for the given role and type.
| |
CreateTypeSourceBySourceName |
Creates a LoggingTypeSource for the given role and logger name.
| |
CreateVerbosityConfiguration |
Creates a new LoggingVerbosityConfiguration for the current LoggingBackend.
| |
Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. | |
Dispose(Boolean) |
Disposes the current object.
| |
GetAsyncContextOfTask |
Gets the AsyncMethodLoggingContext associated with a Task.
| |
GetBackendOptions |
Gets the formatting and rendering options for the current LoggingBackend.
| |
GetSource(String, String) | Obsolete.
Returns a LoggingNamespaceSource for the given role and, optionally, namespace.
| |
GetSource(String, Type) | Obsolete.
Returns a LoggingTypeSource for the given role and type.
| |
GetThreadContext |
Returns the ThreadLoggingContext for the current Thread.
| |
OpenAsyncContext |
Gets an AsyncMethodLoggingContext for a given async method.
| |
OpenEphemeralContext(LogMemberInfo) |
Gets an EphemeralLoggingContext for use in a given method. An EphemeralLoggingContext is a degenerated
kind of context, used to emit a single record.
| |
OpenEphemeralContext(LoggingTypeSource, ThreadLoggingContext) |
Gets an EphemeralLoggingContext for use in a given LoggingTypeSource. An EphemeralLoggingContext is a degenerated
kind of context, used to emit a single record.
| |
OpenIteratorContext |
Gets an IteratorLoggingContext for a given iterator method.
| |
OpenSyncContext |
Gets a SyncMethodLoggingContext for a given normal (non-async, non-iterator) method.
| |
ToString | Returns a string that represents the current object. (Overrides Object.ToString().) | |
WithContextLocalConfiguration |
Changes the LoggingContextLocalConfiguration for the current execution context.
| |
WithVerbosityConfiguration |
Changes the verbosity for the current execution context.
|