mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Write log level in log
This commit is contained in:
parent
e870dd27eb
commit
44a90e53a9
1 changed files with 2 additions and 0 deletions
|
|
@ -66,11 +66,13 @@ namespace Flow.Launcher.Infrastructure.Logger
|
|||
public static void UseDebugLogLevel()
|
||||
{
|
||||
LogManager.Configuration.FindRuleByName("file").SetLoggingLevels(LogLevel.Debug, LogLevel.Fatal);
|
||||
Info(nameof(Logger), "Using DEBUG log level.");
|
||||
}
|
||||
|
||||
public static void UseInfoLogLevel()
|
||||
{
|
||||
LogManager.Configuration.FindRuleByName("file").SetLoggingLevels(LogLevel.Info, LogLevel.Fatal);
|
||||
Info(nameof(Logger), "Using INFO log level.");
|
||||
}
|
||||
|
||||
private static void LogFaultyFormat(string message)
|
||||
|
|
|
|||
Loading…
Reference in a new issue