2020-07-23 02:24:18 +02:00
|
|
|
namespace ExtremelySimpleLogger {
|
2020-07-23 02:46:34 +02:00
|
|
|
/// <summary>
|
|
|
|
/// A log level represents the importance of a message.
|
|
|
|
/// The higher the log level (the farther down in the list), the more important it is.
|
|
|
|
/// </summary>
|
2020-07-23 02:24:18 +02:00
|
|
|
public enum LogLevel {
|
|
|
|
|
2020-07-23 02:46:34 +02:00
|
|
|
/// <summary>
|
|
|
|
/// The log level for very high-detail messages that are used for intensive debugging
|
|
|
|
/// </summary>
|
2020-07-23 02:24:18 +02:00
|
|
|
Trace,
|
2020-07-23 02:46:34 +02:00
|
|
|
/// <summary>
|
|
|
|
/// The log level for high-detail messages that are used for debugging
|
|
|
|
/// </summary>
|
2020-07-23 02:24:18 +02:00
|
|
|
Debug,
|
2020-07-23 02:46:34 +02:00
|
|
|
/// <summary>
|
|
|
|
/// The log level for informational messages
|
|
|
|
/// </summary>
|
2020-07-23 02:24:18 +02:00
|
|
|
Info,
|
2020-07-23 02:46:34 +02:00
|
|
|
/// <summary>
|
|
|
|
/// The log level for warnings.
|
|
|
|
/// </summary>
|
2020-07-23 02:24:18 +02:00
|
|
|
Warn,
|
2020-07-23 02:46:34 +02:00
|
|
|
/// <summary>
|
|
|
|
/// The log level for errors.
|
|
|
|
/// </summary>
|
2020-07-23 02:24:18 +02:00
|
|
|
Error,
|
2020-07-23 02:46:34 +02:00
|
|
|
/// <summary>
|
|
|
|
/// The log level for fatal exceptions, like when the program encounters a crash.
|
|
|
|
/// </summary>
|
2020-07-23 02:24:18 +02:00
|
|
|
Fatal
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|