Logs: add 'always' method for debugging

This commit is contained in:
Nekotekina 2020-03-10 11:23:56 +03:00
parent 12b73c8bdc
commit d3eb267ba9

View File

@ -14,7 +14,7 @@ namespace logs
enum class level : unsigned enum class level : unsigned
{ {
always, // Highest log severity (unused, cannot be disabled) always, // Highest log severity (cannot be disabled)
fatal, fatal,
error, error,
todo, todo,
@ -103,6 +103,7 @@ namespace logs
}\ }\
}\ }\
GEN_LOG_METHOD(always)
GEN_LOG_METHOD(fatal) GEN_LOG_METHOD(fatal)
GEN_LOG_METHOD(error) GEN_LOG_METHOD(error)
GEN_LOG_METHOD(todo) GEN_LOG_METHOD(todo)