No more static

This commit is contained in:
Mira 2022-06-13 10:26:26 +02:00
parent f441a104c9
commit d8272c36a1
Signed by untrusted user who does not match committer: Xorog
GPG key ID: 983798ED9C3E7C36
6 changed files with 118 additions and 113 deletions

View file

@ -1,29 +0,0 @@
namespace Xorog.Logger;
public class LoggerObjects
{
internal List<LogEntry> LogsToPost = new();
internal List<string> Blacklist = new();
internal List<LogLevel> FileBlackList = new();
public class LogEntry
{
public DateTime TimeOfEvent { get; set; }
public LogLevel LogLevel { get; set; }
public string Message { get; set; }
public Exception? Exception { get; set; }
}
public enum LogLevel
{
NONE,
FATAL,
ERROR,
WARN,
INFO,
DEBUG,
DEBUG2,
TRACE,
TRACE2
}
}