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.Trace => ["[", "Trace", "] "],
|
||||||
LogLevel.Debug => ["[", "Debug", "] "],
|
LogLevel.Debug => ["[", "Debug", "] "],
|
||||||
LogLevel.Information => ["[", "Info", "] "],
|
LogLevel.Information => [" [", "Info", "] "],
|
||||||
LogLevel.Warning => ["[", "Warn", "] "],
|
LogLevel.Warning => [" [", "Warn", "] "],
|
||||||
LogLevel.Error => ["[", "Error", "] "],
|
LogLevel.Error => ["[", "Error", "] "],
|
||||||
LogLevel.Critical => ["[", "\u001b[1mCrit\u001b[0m", "] "],
|
LogLevel.Critical => [" [", "\u001b[1mCrit\u001b[0m", "] "],
|
||||||
_ => ["[", "None", "] "],
|
_ => [" [", "None", "] "],
|
||||||
};
|
};
|
||||||
|
|
||||||
lock (@lock)
|
lock (@lock)
|
||||||
|
|
Loading…
Reference in a new issue