-
Notifications
You must be signed in to change notification settings - Fork 0
9b0f1d37 5d4c 4aa9 ed24 4147818946da
Axel Kesseler edited this page Mar 1, 2023
·
16 revisions
Determines if a particular logging level is enabled.
Namespace: Plexdata.LogWriter.Logging
Assembly: Plexdata.LogWriter.Abstraction (in Plexdata.LogWriter.Abstraction.dll) Version: 1.0.7.1
C#
public virtual bool IsEnabled(
LogLevel level
)
- level
- Type: Plexdata.LogWriter.Definitions.LogLevel
The logging level to be verified.
Type: Boolean
True is returned if provided logging level is enabled and false if not.
The method actually checks if currently configured logging level is equal to or greater than the provided logging level. In other words, the enable check is more or less some kind of range check.
LoggerBase(TSettings) Class
Plexdata.LogWriter.Logging Namespace