Skip to content

Commit

Permalink
fix: remove CommandConstants.ArgumentShortVerbose check from ProgramC…
Browse files Browse the repository at this point in the history
…sHelper
  • Loading branch information
Per Kops committed Apr 2, 2024
1 parent 590ced9 commit 2cb5cca
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Atc.Console.Spectre/Helpers/ProgramCsHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ public static void SetMinimumLogLevelIfNeeded(
throw new ArgumentNullException(nameof(consoleLoggerConfiguration));
}

if (args.Any(x => x.Equals(CommandConstants.ArgumentShortVerbose, StringComparison.OrdinalIgnoreCase)) ||
args.Any(x => x.Equals(CommandConstants.ArgumentLongVerbose, StringComparison.OrdinalIgnoreCase)))
if (args.Any(x => x.Equals(CommandConstants.ArgumentLongVerbose, StringComparison.OrdinalIgnoreCase)))
{
consoleLoggerConfiguration.MinimumLogLevel = LogLevel.Trace;
}
Expand Down

0 comments on commit 2cb5cca

Please sign in to comment.