|
Joutsen Logging v0.5.0+22-gec3d058
|
Represents the detail level of a log entry. More...
Public Member Functions | |
| override string | ToString () |
| Creates a string representation of the log level. More... | |
| override bool | Equals (object obj) |
| Checks if this instance is equal to another object. More... | |
| override int | GetHashCode () |
| Calculates a hascode for this instance. More... | |
| int | CompareTo (object obj) |
| int | CompareTo (LogLevel logLevel) |
Static Public Member Functions | |
| static bool | operator> (LogLevel level1, LogLevel level2) |
| static bool | operator< (LogLevel level1, LogLevel level2) |
| static bool | operator>= (LogLevel level1, LogLevel level2) |
| static bool | operator<= (LogLevel level1, LogLevel level2) |
| static bool | operator== (LogLevel level1, LogLevel level2) |
| static bool | operator!= (LogLevel level1, LogLevel level2) |
| static LogLevel | FromName (string name) |
| Fetches an instance of the log level by its human readable name. More... | |
| static LogLevel | FromValue (uint value) |
| Fetches an instance of the log level by its numeric value. More... | |
Static Public Attributes | |
| static readonly LogLevel | Disabled = new LogLevel(0, "Disabled") |
| The lowest level which represents no logging at all. More... | |
| static readonly LogLevel | Error = new LogLevel(10, "Error") |
| A level that represents errors, exceptions and fatal conditions. More... | |
| static readonly LogLevel | Warning = new LogLevel(100, "Warning") |
| A level that represents non-fatal conditions which nevertheless can cause problems. More... | |
| static readonly LogLevel | Info = new LogLevel(1000, "Info") |
| A level that represents messages that help to understand what the programm does without revealing too much of its structure. More... | |
| static readonly LogLevel | Detail = new LogLevel(10000, "Detail") |
| A log level that represents simple debug messages. More... | |
| static readonly LogLevel | Verbose = new LogLevel(100000, "Verbose") |
| The highest detail level possible. More... | |
Protected Member Functions | |
| LogLevel (uint value) | |
| Creates a new instance without a human readable name. More... | |
| LogLevel (uint value, String name) | |
| Creates anew instance with a human readable representation. More... | |
Properties | |
| uint | Value [get] |
| The numeric value of the log level. More... | |
| String | Name [get] |
| A human readable representation of th elog level. More... | |
Represents the detail level of a log entry.
|
protected |
Creates a new instance without a human readable name.
|
protected |
Creates anew instance with a human readable representation.
| int Joutsen.Logging.LogLevel.CompareTo | ( | LogLevel | logLevel | ) |
| int Joutsen.Logging.LogLevel.CompareTo | ( | object | obj | ) |
| override bool Joutsen.Logging.LogLevel.Equals | ( | object | obj | ) |
Checks if this instance is equal to another object.
|
static |
Fetches an instance of the log level by its human readable name.
|
static |
Fetches an instance of the log level by its numeric value.
| override int Joutsen.Logging.LogLevel.GetHashCode | ( | ) |
Calculates a hascode for this instance.
| override string Joutsen.Logging.LogLevel.ToString | ( | ) |
Creates a string representation of the log level.
A log level that represents simple debug messages.
This level is not necessarily suitable for end users.
The lowest level which represents no logging at all.
A level that represents errors, exceptions and fatal conditions.
A level that represents messages that help to understand what the programm does without revealing too much of its structure.
The highest detail level possible.
It represents a level that contains information about the structure or call order of the programm. This level should only be used for developers.
A level that represents non-fatal conditions which nevertheless can cause problems.
|
get |
A human readable representation of th elog level.
|
get |
The numeric value of the log level.