Made log level tags right-aligned
This commit is contained in:
parent
769643a292
commit
2db90a44c7
1 changed files with 4 additions and 4 deletions
|
@ -85,11 +85,11 @@ public class Logger : ILogger
|
|||
{
|
||||
LogLevel.Trace => ["[", "Trace", "] "],
|
||||
LogLevel.Debug => ["[", "Debug", "] "],
|
||||
LogLevel.Information => ["[", "Info", "] "],
|
||||
LogLevel.Warning => ["[", "Warn", "] "],
|
||||
LogLevel.Information => [" [", "Info", "] "],
|
||||
LogLevel.Warning => [" [", "Warn", "] "],
|
||||
LogLevel.Error => ["[", "Error", "] "],
|
||||
LogLevel.Critical => ["[", "\u001b[1mCrit\u001b[0m", "] "],
|
||||
_ => ["[", "None", "] "],
|
||||
LogLevel.Critical => [" [", "\u001b[1mCrit\u001b[0m", "] "],
|
||||
_ => [" [", "None", "] "],
|
||||
};
|
||||
|
||||
lock (@lock)
|
||||
|
|
Loading…
Reference in a new issue