PostSharp6.3/API Reference/Post­Sharp.​Patterns.​Diagnostics.​Backends.​Microsoft Namespace/Microsoft­Logging­Backend Class

MicrosoftLoggingBackend Class

Logging back-end for Microsoft.Extensions.Logging.
Inheritance Hierarchy
System.Object
  PostSharp.Patterns.Diagnostics.LoggingBackend
    PostSharp.Patterns.Diagnostics.Backends.TextLoggingBackend
      PostSharp.Patterns.Diagnostics.Backends.Microsoft.MicrosoftLoggingBackend

Namespace:  PostSharp.Patterns.Diagnostics.Backends.Microsoft
Assembly:  PostSharp.Patterns.Diagnostics.Backends.Microsoft (in PostSharp.Patterns.Diagnostics.Backends.Microsoft.dll) Version: 6.3.11.0 (6.3.11.0)
Syntax
C#
public class MicrosoftLoggingBackend : TextLoggingBackend

The MicrosoftLoggingBackend type exposes the following members.

Constructors
  NameDescription
Public methodMicrosoftLoggingBackend
Creates an instance of MicrosoftLoggingBackend with the given ILoggerFactory.
Properties
  NameDescription
Public propertyCurrentContext (Inherited from LoggingBackend.)
Public propertyCurrentContextLocalConfiguration (Inherited from LoggingBackend.)
Public propertyDefaultContextLocalConfiguration (Inherited from LoggingBackend.)
Public propertyDefaultVerbosity (Inherited from LoggingBackend.)
Public propertyIsCorrupted (Inherited from LoggingBackend.)
Public propertyIsDisposed (Inherited from LoggingBackend.)
Public propertyIsEnabled (Inherited from LoggingBackend.)
Public propertyOptions
Gets the back-end options.
Methods
  NameDescription
Protected methodCreateAsyncCustomActivityContext (Inherited from LoggingBackend.)
Protected methodCreateAsyncMethodContext (Inherited from LoggingBackend.)
Protected methodCreateContextLocalConfiguration (Inherited from LoggingBackend.)
Protected methodCreateEphemeralContext (Inherited from LoggingBackend.)
Protected methodCreateIteratorContext (Inherited from LoggingBackend.)
Public methodCreateRecordBuilder (Overrides LoggingBackend.CreateRecordBuilder().)
Protected methodCreateSyncCustomActivityContext (Inherited from LoggingBackend.)
Protected methodCreateSyncMethodContext (Inherited from LoggingBackend.)
Protected methodCreateThreadContext (Inherited from LoggingBackend.)
Protected methodCreateTypeSource (Overrides LoggingBackend.CreateTypeSource(LoggingNamespaceSource, Type).)
Public methodCreateVerbosityConfiguration (Inherited from LoggingBackend.)
Public methodDispose() (Inherited from LoggingBackend.)
Protected methodDispose(Boolean) (Inherited from TextLoggingBackend.)
Public methodGetAsyncContextOfTask (Inherited from LoggingBackend.)
Protected methodGetBackendOptions (Inherited from TextLoggingBackend.)
Public methodGetLogger
Gets an ILogger given a category name.
Public methodGetSource(String, String) Obsolete. (Inherited from LoggingBackend.)
Public methodGetSource(String, Type) Obsolete. (Inherited from LoggingBackend.)
Protected methodGetTextBackendOptions (Overrides TextLoggingBackend.GetTextBackendOptions().)
Public methodGetThreadContext (Inherited from LoggingBackend.)
Public methodOpenAsyncContext (Inherited from LoggingBackend.)
Public methodOpenEphemeralContext(LogMemberInfo) (Inherited from LoggingBackend.)
Public methodOpenEphemeralContext(LoggingTypeSource, ThreadLoggingContext) (Inherited from LoggingBackend.)
Public methodOpenIteratorContext (Inherited from LoggingBackend.)
Public methodOpenSyncContext (Inherited from LoggingBackend.)
Protected methodWithContextLocalConfiguration (Inherited from LoggingBackend.)
See Also