mirror of
https://github.com/EpinelPS/EpinelPS.git
synced 2025-12-23 12:24:40 +01:00
update event data and improve event code
This commit is contained in:
@@ -73,6 +73,8 @@ namespace EpinelPS.Utils
|
||||
|
||||
Console.ForegroundColor = config.LogLevelToColorMap[logLevel];
|
||||
Console.Write($"{msg}");
|
||||
if (exception != null)
|
||||
Console.WriteLine(exception.ToString());
|
||||
|
||||
Console.ForegroundColor = originalColor;
|
||||
Console.WriteLine();
|
||||
|
||||
Reference in New Issue
Block a user