PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​Backends.​MicrosoftMicrosoft­Logging­Collecting­Logger­Provider
Open sandboxFocus

MicrosoftLoggingCollectingLoggerProvider Class

An Microsoft.Extensions.Logging.ILoggerProvider that creates loggers that send logging to PostSharp backends as manual log events.

Inheritance
MicrosoftLoggingCollectingLoggerProvider
Implements
Microsoft.Extensions.Logging.ILoggerProvider
IDisposable
Namespace: PostSharp.Patterns.Diagnostics.Backends.Microsoft
Assembly: PostSharp.Patterns.Diagnostics.Backends.Microsoft.dll
Syntax
public sealed class MicrosoftLoggingCollectingLoggerProvider : Object

Constructors

Name Description
MicrosoftLoggingCollectingLoggerProvider()

Initializes a new instance of MicrosoftLoggingCollectingLoggerProvider.

Methods

Name Description
CreateLogger(String)

Creates a new logger that sends ASP.NET logging events into PostSharp as manual events, under the given log source name.

Dispose()

There is nothing to dispose. Empty.