Fix debug messages not appearing when using colors.

This commit is contained in:
2025-08-26 19:54:56 +01:00
parent 1ac3c9dabe
commit 66e7b3887e

View File

@@ -138,11 +138,14 @@ class MainClass
Log.Information(formatted);
};
AaruLogging.ErrorEvent += Log.Error;
AaruLogging.ErrorEvent += Log.Error;
AaruLogging.VerboseEvent += Log.Verbose;
AaruLogging.DebugEvent += (module, format, objects) => Log.Debug($"[blue]{module}[/] {format}", objects);
AaruLogging.DebugEvent += (module, format, objects) =>
Log.Debug(string.Format($"[blue]({module})[/] {format}", objects));
AaruLogging.WriteExceptionEvent += Log.Error;
AaruLogging.InformationEvent += Log.Information;
AaruLogging.InformationEvent += Log.Information;
Settings.Settings.LoadSettings();