Skip to content

Commit 44a90e5

Browse files
Write log level in log
1 parent e870dd2 commit 44a90e5

File tree

1 file changed

+2
-0
lines changed
  • Flow.Launcher.Infrastructure/Logger

1 file changed

+2
-0
lines changed

Flow.Launcher.Infrastructure/Logger/Log.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,13 @@ static Log()
6666
public static void UseDebugLogLevel()
6767
{
6868
LogManager.Configuration.FindRuleByName("file").SetLoggingLevels(LogLevel.Debug, LogLevel.Fatal);
69+
Info(nameof(Logger), "Using DEBUG log level.");
6970
}
7071

7172
public static void UseInfoLogLevel()
7273
{
7374
LogManager.Configuration.FindRuleByName("file").SetLoggingLevels(LogLevel.Info, LogLevel.Fatal);
75+
Info(nameof(Logger), "Using INFO log level.");
7476
}
7577

7678
private static void LogFaultyFormat(string message)

0 commit comments

Comments
 (0)