PostSharpAPI ReferencePost­Sharp.​Patterns.​DiagnosticsLogging­Context­Local­ConfigurationIs­Enabled
Open sandboxFocus

LoggingContextLocalConfiguration.IsEnabled Property

IsEnabled

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.

Declaration
public bool IsEnabled { get; set; }
Property Value
Type Description
Boolean