Table of Contents

Class LogLevel

Namespace
SLLoggerUtil
Assembly
SLLoggerUtil.dll

Represents a log level.

public sealed class LogLevel
Inheritance
LogLevel
Extension Methods

Properties

AllLogLevels

Gets all log levels.

Debug

Gets the log level representing the 'Debug' level.

Error

Gets the log level representing the 'Error' level.

Fatal

Gets the log level representing the 'Fatal' level.

Info

Gets the log level representing the 'Info' level.

Level

Gets the level.

Name

Gets the name.

Off

Gets the log level representing the 'Off' level.

Trace

Gets the log level representing the 'Trace' level.

Warn

Gets the log level representing the 'Warning' level.

Methods

CompareTo(object)

Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.

Equals(LogLevel)

Determines whether the specified LogLevel object is equal to the current object.

Equals(object)

Determines whether the specified object is equal to the current object.

GetHashCode()

Calculates the hash code for this object.

ToString()

Returns a string that represents the current object.

Operators

operator ==(LogLevel, LogLevel)
operator >(LogLevel, LogLevel)
operator >=(LogLevel, LogLevel)
operator !=(LogLevel, LogLevel)
operator <(LogLevel, LogLevel)
operator <=(LogLevel, LogLevel)