This commit is contained in:
Mira 2022-07-20 06:50:19 +02:00
parent d0272b5761
commit 3ec20d05d3
Signed by untrusted user who does not match committer: Xorog
GPG key ID: 983798ED9C3E7C36
2 changed files with 5 additions and 2 deletions

View file

@ -1,5 +1,7 @@
namespace Xorog.Logger;
#pragma warning disable IDE1006 // Naming Styles
public class Logger : ILogger
{
internal Logger() { }
@ -128,7 +130,7 @@ public class Logger : ILogger
Console.ResetColor(); Console.WriteLine($" {LogMessage}");
if (currentLog.Exception is not null)
Console.WriteLine(currentLog.Exception.ToString());
Console.WriteLine(currentLog.Exception);
}
_ = Task.Run(() =>