PostSharp 6.10 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Backends.​Null Namespace / Null­Logging­Backend Class / Null­Logging­Backend Methods

NullLoggingBackend Methods

The NullLoggingBackend type exposes the following members.

Methods
  NameDescription
Public methodCreateRecordBuilder
Creates a new LogRecordBuilder.
(Overrides LoggingBackend.CreateRecordBuilder().)
Public methodCreateTransaction
Creates a LoggingTransaction instance.
(Inherited from LoggingBackend.)
Public methodCreateVerbosityConfiguration
Creates a new LoggingVerbosityConfiguration for the current LoggingBackend.
(Inherited from LoggingBackend.)
Public methodDispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from LoggingBackend.)
Public methodGetAsyncContextOfTask
Gets the AsyncMethodLoggingContext associated with a Task.
(Inherited from LoggingBackend.)
Public methodGetSource(String, String) Obsolete.
Returns a LoggingNamespaceSource for the given role and, optionally, namespace.
(Inherited from LoggingBackend.)
Public methodGetSource(String, Type) Obsolete.
Returns a LoggingTypeSource for the given role and type.
(Inherited from LoggingBackend.)
Public methodGetThreadContext
Returns the ThreadLoggingContext for the current Thread.
(Inherited from LoggingBackend.)
Public methodOpenAsyncContext
Gets an AsyncMethodLoggingContext for a given async method.
(Inherited from LoggingBackend.)
Public methodOpenEphemeralContext(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.)
Public methodOpenEphemeralContext(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.)
Public methodOpenIteratorContext
Gets an IteratorLoggingContext for a given iterator method.
(Inherited from LoggingBackend.)
Public methodOpenSyncContext
Gets a SyncMethodLoggingContext for a given normal (non-async, non-iterator) method.
(Inherited from LoggingBackend.)
Public methodToString
Returns a string that represents the current object.
(Inherited from LoggingBackend.)
Public methodWithVerbosityConfiguration
Changes the verbosity for the current execution context.
(Inherited from LoggingBackend.)
Extension Methods
  NameDescription
Public Extension MethodConfigureFromXml(XDocument, Boolean)Overloaded.
Configures a LoggingBackend from an XDocument.
(Defined by LoggingConfigurationManager.)
Public Extension MethodConfigureFromXml(XElement, Boolean)Overloaded.
Configures a LoggingBackend from an XElement.
(Defined by LoggingConfigurationManager.)
Public Extension MethodConfigureFromXmlAsync
Configures a LoggingBackend from an XML configuration file whose location is specified in a Uri.
(Defined by LoggingConfigurationManager.)
Public Extension MethodConfigureFromXmlWithAutoReloadAsync
Configures a LoggingBackend from an XML configuration file whose location is specified in a Uri and specifies a TimeSpan at which the file should be refreshed from source.
(Defined by LoggingConfigurationManager.)
Public Extension MethodResetConfiguration
Removes the TransactionPolicySelector and resets the DefaultVerbosity of a given LoggingBackend.
(Defined by LoggingConfigurationManager.)
Public Extension MethodStopAutoReloadConfigurationAsync
Stops all auto-refresh configuration set up by ConfigureFromXmlWithAutoReloadAsync(LoggingBackend, Uri, TimeSpan, CancellationToken) and waits until all pending operations have completed.
(Defined by LoggingConfigurationManager.)
See Also