Fix msg
This commit is contained in:
parent
d0272b5761
commit
3ec20d05d3
2 changed files with 5 additions and 2 deletions
|
|
@ -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(() =>
|
||||
|
|
|
|||
Reference in a new issue