using System;
namespace ZeroLevel.Services.Logging
{
///
/// Enum contains possible types of messages to write to the log
///
[Flags]
public enum LogLevel : int
{
None = 0,
///
/// Message
///
Info = 1 << 0,
///
/// Warning
///
Warning = 1 << 1,
///
/// Error
///
Error = 1 << 2,
///
/// Fatal
///
Fatal = 1 << 3,
///
/// Debug
///
Debug = 1 << 4,
///
/// LowLevel Debug
///
Verbose = 1 << 5,
///
/// Info | Warning | Error | Fatal
///
Standart = Info | Warning | Error | Fatal,
///
/// Message output as is, without date and logging level
///
Raw = 1 << 6,
///
/// Error | Fatal | Warning
///
Problem = Error | Fatal | Warning,
///
/// Info | Problem | Raw
///
All = Info | Problem | Raw,
///
/// All | Verbose | Debug
///
FullDebug = All | Verbose | Debug,
SystemInfo = 1 << 6,
SystemWarning = 1 << 7,
SystemError = 1 << 8,
System = SystemInfo | SystemError | SystemWarning,
FullStandart = Standart | System
}
}