|
|
@ -253,8 +253,10 @@ const char* GetLogClassName(Class log_class) {
|
|
|
|
#undef CLS
|
|
|
|
#undef CLS
|
|
|
|
#undef SUB
|
|
|
|
#undef SUB
|
|
|
|
case Class::Count:
|
|
|
|
case Class::Count:
|
|
|
|
UNREACHABLE();
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
UNREACHABLE();
|
|
|
|
|
|
|
|
return "Invalid";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const char* GetLevelName(Level log_level) {
|
|
|
|
const char* GetLevelName(Level log_level) {
|
|
|
@ -269,9 +271,11 @@ const char* GetLevelName(Level log_level) {
|
|
|
|
LVL(Error);
|
|
|
|
LVL(Error);
|
|
|
|
LVL(Critical);
|
|
|
|
LVL(Critical);
|
|
|
|
case Level::Count:
|
|
|
|
case Level::Count:
|
|
|
|
UNREACHABLE();
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#undef LVL
|
|
|
|
#undef LVL
|
|
|
|
|
|
|
|
UNREACHABLE();
|
|
|
|
|
|
|
|
return "Invalid";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void SetGlobalFilter(const Filter& filter) {
|
|
|
|
void SetGlobalFilter(const Filter& filter) {
|
|
|
|