mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Fix debug messages not appearing when using colors.
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user