mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-13 13:35:14 +01:00
Merge pull request #1031 from bbarenblat/master
Handle invalid `Log::Class`
This commit is contained in:
commit
2e5696dba4
@ -66,8 +66,9 @@ const char* GetLogClassName(Class log_class) {
|
|||||||
ALL_LOG_CLASSES()
|
ALL_LOG_CLASSES()
|
||||||
#undef CLS
|
#undef CLS
|
||||||
#undef SUB
|
#undef SUB
|
||||||
|
case Class::Count:
|
||||||
|
UNREACHABLE();
|
||||||
}
|
}
|
||||||
return "Unknown";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const char* GetLevelName(Level log_level) {
|
const char* GetLevelName(Level log_level) {
|
||||||
|
Loading…
Reference in New Issue
Block a user