Open sandboxFocus

Class MicrosoftLoggingBuilderExtensions

Provides an extension method that adds the PostSharp logging provider to ASP.NET.

Inheritance
MicrosoftLoggingBuilderExtensions
Namespace: PostSharp.Patterns.Diagnostics.Backends.Microsoft
Assembly: PostSharp.Patterns.Diagnostics.Backends.Microsoft.dll
Syntax
public static class MicrosoftLoggingBuilderExtensions

Methods

Name Description
AddPostSharp(ILoggingBuilder)

Sends all logging in ASP.NET to PostSharp, in addition to any other logging providers. From there, the logging is sent to PostSharp backends.