Updates for beta10

This commit is contained in:
WolverinDEV
2020-02-15 14:03:46 +01:00
parent 423f7a7303
commit 035f23ef23
19 changed files with 242 additions and 218 deletions
+3 -2
View File
@@ -278,10 +278,11 @@ int main(int argc, char** argv) {
logConfig->vs_group_size = ts::config::log::vs_size;
logger::setup(logConfig);
threads::timer::function_log = [](const std::string& message, bool debug) {
auto msg = message.find('\n') == std::string::npos ? message : message.substr(0, message.find('\n'));
if(debug)
debugMessage(LOG_GENERAL, message);
debugMessage(LOG_GENERAL, msg);
else
logWarning(LOG_GENERAL, message);
logWarning(LOG_GENERAL, msg);
};
logger::updateLogLevels();