mirror of
https://github.com/SantaSpeen/BeamMP-Server.git
synced 2026-02-16 11:00:41 +00:00
Lua: info,debug -> trace
This commit is contained in:
@@ -159,7 +159,7 @@ std::string ThreadName(bool DebugModeOverride) {
|
||||
}
|
||||
|
||||
void RegisterThread(const std::string& str) {
|
||||
beammp_info(str + " is " + std::to_string(gettid()));
|
||||
beammp_trace(str + " is " + std::to_string(gettid()));
|
||||
auto Lock = std::unique_lock(ThreadNameMapMutex);
|
||||
threadNameMap[std::this_thread::get_id()] = str;
|
||||
}
|
||||
|
||||
@@ -93,7 +93,7 @@ void TLuaEngine::operator()() {
|
||||
< std::chrono::milliseconds(10)) {
|
||||
std::this_thread::sleep_for(Diff);
|
||||
} else {
|
||||
beammp_debug("Event loop cannot keep up!");
|
||||
beammp_trace("Event loop cannot keep up!");
|
||||
}
|
||||
Before = std::chrono::high_resolution_clock::now();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user