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