Skip to content

Commit

Permalink
Added the new Off log level to the string conversion.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimi1010 committed Sep 30, 2024
1 parent 9062c48 commit 1e856f0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Common++/src/Logger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,16 @@ namespace pcpp
{
switch (logLevel)
{
case LogLevel::Off:
return "OFF";
case LogLevel::Error:
return "ERROR";
case LogLevel::Info:
return "INFO";
default:
case LogLevel::Debug:
return "DEBUG";
default:
return "UNKNOWN";
}
}

Expand Down

0 comments on commit 1e856f0

Please sign in to comment.