Enumeration that defines the standard Caplin logging levels.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public enum LogLevels
Public Enumeration LogLevels
public enum class LogLevels
Members
Member | Description |
---|---|
Finest |
Used for the most finely detailed tracing messages.
|
Finer |
Used for fairly detailed tracing messages.
|
Debug |
Used for tracing messages.
|
Info |
Used for informational messages.
|
Notify |
Used for messages of greater importance than Info that may not indicate problems.
|
Warning |
Used for messages that indicate a potential problem.
|
Error |
Used for messages that indicate a problem.
|
Critical |
Used for messages indicating a serious failure.
|
Config |
Used for log messages that indicate a problem or feedback with library configuration.
|
Remarks
The levels in this enumeration are in ascending order, where Finest is the lowest level and Critical is the highest. Setting a log level in an implementation of ILogger (for example in ConsoleLogger) causes messages with that log level or a higher log level to be logged, whereas messages with a lower log level are not logged.