PostSharp 6.9 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics Namespace / Logging­Context­Local­Configuration Class / Logging­Context­Local­Configuration Properties / Logging­Context­Local­Configuration.​Is­Enabled Property

LoggingContextLocalConfiguration.IsEnabled Property

Determines whether logging is enabled for all contexts using this configuration. This is typically used to disable logging for the current transaction. If it is disabled, the default configuration is used.

Namespace:  PostSharp.Patterns.Diagnostics
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.9.11.0 (6.9.11.0)
Syntax
C#
public bool IsEnabled { get; set; }

Property Value

Type: Boolean
See Also