Open sandboxFocus

Method AddPostSharp

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.

Declaration
public static void AddPostSharp(this ILoggingBuilder loggingBuilder)
Parameters
Type Name Description
ILoggingBuilder loggingBuilder

The ASP.NET logging builder.