Skip to content

Commit

Permalink
Use the correct logger instance
Browse files Browse the repository at this point in the history
  • Loading branch information
uweseimet committed Dec 11, 2024
1 parent c2b42dc commit c290168
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/s2pdump/s2pdump_core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ bool S2pDump::ParseArguments(span<char*> args) // NOSONAR Acceptable complexity
return false;
}

if (!SetLogLevel(*default_logger(), log_level)) {
if (!SetLogLevel(*initiator_logger, log_level)) {
throw parser_exception("Invalid log level '" + log_level + "'");
}

Expand Down

0 comments on commit c290168

Please sign in to comment.