PostSharp 6.7 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Backends.​Microsoft Namespace / Microsoft­Logging­Collecting­Logger­Provider Class

MicrosoftLoggingCollectingLoggerProvider Class

An ILoggerProvider that creates loggers that send logging to PostSharp backends as manual log events.
Inheritance Hierarchy
System.Object
  PostSharp.Patterns.Diagnostics.Backends.Microsoft.MicrosoftLoggingCollectingLoggerProvider

Namespace:  PostSharp.Patterns.Diagnostics.Backends.Microsoft
Assembly:  PostSharp.Patterns.Diagnostics.Backends.Microsoft (in PostSharp.Patterns.Diagnostics.Backends.Microsoft.dll) Version: 6.7.12.0 (6.7.12.0)
Syntax
C#
public sealed class MicrosoftLoggingCollectingLoggerProvider : ILoggerProvider, 
	IDisposable

The MicrosoftLoggingCollectingLoggerProvider type exposes the following members.

Constructors
  NameDescription
Public methodMicrosoftLoggingCollectingLoggerProvider
Initializes a new instance of MicrosoftLoggingCollectingLoggerProvider.
Methods
  NameDescription
Public methodCreateLogger
Creates a new logger that sends ASP.NET logging events into PostSharp as manual events, under the given log source name.
Public methodDispose
There is nothing to dispose. Empty.
See Also