PostSharp 6.4 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Custom Namespace / Log­Level­Source Class / Log­Level­Source Properties / Log­Level­Source.​Is­Enabled Property

LogLevelSource.IsEnabled Property

Determines whether logging is enabled for the current Level.

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

Property Value

Type: Boolean
See Also