Merge branch 'grid-settings' into SPARK-1799-add-hedge-perf-traces
This commit is contained in:
commit
58c5eeb6d1
257 files changed
+11368
-3954
No files matched your search
@@ -212,7 +212,9 @@ const char* intern(const char* str) {
|
||||
|
||||
extern "C" BTS_EXPORT void Logger_log (int level, int subsystem, const char *message, const char *file, int line)
|
||||
{
|
||||
bts::log::_thread_logger.logger->enqueue(log::log_ts(),log::Subsystem{(uint8_t)subsystem}, log::Level{(uint8_t)level}, intern(file), line, "{}", std::string(message));
|
||||
if (bts::log::_thread_logger.logger != nullptr) {
|
||||
bts::log::_thread_logger.logger->enqueue(log::log_ts(), log::Subsystem{ (uint8_t)subsystem }, log::Level{ (uint8_t)level }, intern(file), line, "{}", std::string(message));
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user