Logging: Add a flag to specify the minimum log level

--log_level = (0=error, 1=warning, 2=info, 3=debug)
This commit is contained in:
DrChat
2017-03-24 16:28:41 -05:00
parent 92a4b90ed0
commit e699be0118
6 changed files with 85 additions and 41 deletions

View File

@@ -743,7 +743,7 @@ void UserModule::Dump() {
sb.AppendFormat("\n");
}
xe::LogLine('i', sb.GetString());
xe::LogLine(xe::LogLevel::LOG_LEVEL_INFO, 'i', sb.GetString());
}
} // namespace kernel