Defines available log levels.
Inheritance Hierarchy Namespace: NLogNLog (in NLog.dll) Version: 4.7.0+4d138800820311d0b60b6437f1dd2ed1d571d47d
Syntax[TypeConverterAttribute(typeof(LogLevelTypeConverter))] public sealed class LogLevel : IComparable, IEquatable<LogLevel>, IConvertible
<TypeConverterAttribute(GetType(LogLevelTypeConverter))> Public NotInheritable Class LogLevel Implements IComparable, IEquatable(Of LogLevel), IConvertible Dim instance As LogLevel
[<SealedAttribute>] [<TypeConverterAttribute(typeof(LogLevelTypeConverter))>] type LogLevel = class interface IComparable interface IEquatable<LogLevel> interface IConvertible end
The LogLevel type exposes the following members.
Properties Name Description AllLevelsGets all the available log levels (Trace, Debug, Info, Warn, Error, Fatal, Off).
AllLoggingLevelsGets all the log levels that can be used to log events (Trace, Debug, Info, Warn, Error, Fatal) i.e LogLevel.Off is excluded.
NameGets the name of the log level.
OrdinalGets the ordinal of the log level.
Top Methods Operators Name Description EqualityCompares two LogLevel objects and returns a value indicating whether the first one is equal to the second one.
GreaterThanCompares two LogLevel objects and returns a value indicating whether the first one is greater than the second one.
GreaterThanOrEqualCompares two LogLevel objects and returns a value indicating whether the first one is greater than or equal to the second one.
InequalityCompares two LogLevel objects and returns a value indicating whether the first one is not equal to the second one.
LessThanCompares two LogLevel objects and returns a value indicating whether the first one is less than the second one.
LessThanOrEqualCompares two LogLevel objects and returns a value indicating whether the first one is less than or equal to the second one.
Top Fields Name Description DebugDebug log level.
ErrorError log level.
FatalFatal log level.
InfoInfo log level.
OffOff log level.
TraceTrace log level.
WarnWarn log level.
Top See AlsoRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4