From 1e856f00346e4037585e9732bd6817c1a30ba9fb Mon Sep 17 00:00:00 2001 From: Dimitar Krastev Date: Mon, 30 Sep 2024 17:39:14 +0300 Subject: [PATCH] Added the new Off log level to the string conversion. --- Common++/src/Logger.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Common++/src/Logger.cpp b/Common++/src/Logger.cpp index ec52604a74..8b5e22125c 100644 --- a/Common++/src/Logger.cpp +++ b/Common++/src/Logger.cpp @@ -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"; } }