mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-10-30 11:57:51 +00:00
Merge pull request #1031 from bbarenblat/master
Handle invalid `Log::Class`
This commit is contained in:
commit
2e5696dba4
1 changed files with 2 additions and 1 deletions
|
@ -66,8 +66,9 @@ const char* GetLogClassName(Class log_class) {
|
|||
ALL_LOG_CLASSES()
|
||||
#undef CLS
|
||||
#undef SUB
|
||||
case Class::Count:
|
||||
UNREACHABLE();
|
||||
}
|
||||
return "Unknown";
|
||||
}
|
||||
|
||||
const char* GetLevelName(Level log_level) {
|
||||
|
|
Loading…
Reference in a new issue