SimpleLogger::log: fix unintended fallthrough

This commit is contained in:
Yorick 2023-08-11 12:05:45 +02:00
parent 2e5096e4f0
commit e78e9a6bd1
No known key found for this signature in database
GPG key ID: D8D3CC6D951384DE

View file

@ -67,7 +67,7 @@ public:
case lvlWarn: c = '4'; break;
case lvlNotice: case lvlInfo: c = '5'; break;
case lvlTalkative: case lvlChatty: c = '6'; break;
case lvlDebug: case lvlVomit: c = '7';
case lvlDebug: case lvlVomit: c = '7'; break;
default: c = '7'; break; // should not happen, and missing enum case is reported by -Werror=switch-enum
}
prefix = std::string("<") + c + ">";