PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Custom Namespace / Log­Level­Source Class / Log­Level­Source Properties

LogLevelSource Properties

The LogLevelSource type exposes the following members.

Public propertyEnabledOrNull
Returns the current LogLevelSource, or null if logging is not enabled for the current instance. This property allows to write conditional logging using the ?. operator.
Public propertyIsEnabled
Determines whether logging is enabled for the current Level.
Public propertyLevel
Gets the LogLevel to which the current LogLevelSource is constrained.
See Also