PostSharp 6.5 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics Namespace / Logging­Services Class / Logging­Services Properties / Logging­Services.​Default­Backend Property

LoggingServices.DefaultBackend Property

Gets or sets the default LoggingBackend used for logging in the current application.

Namespace:  PostSharp.Patterns.Diagnostics
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: (
public static LoggingBackend DefaultBackend { get; set; }

Property Value

Type: LoggingBackend

The LoggingBackend can be set individually for each role by setting the Backend property of items of the Roles collection.

See Also