3
0
Fork 0
forked from suyu/suyu

Merge pull request #1031 from bbarenblat/master

Handle invalid `Log::Class`
This commit is contained in:
Yuri Kunde Schlesner 2015-08-15 15:34:12 -07:00
commit 2e5696dba4

View file

@ -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) {