PostSharp6.4/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: 6.4.3.0 (6.4.3.0)
Syntax
C#
public static LoggingBackend DefaultBackend { get; set; }

Property Value

Type: LoggingBackend
Remarks

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

See Also