fixed TeaSpeak server crash
This commit is contained in:
parent
228bde912a
commit
faadb1ff19
@ -34,9 +34,8 @@ namespace logger {
|
|||||||
lock_guard lock(loggerLock);
|
lock_guard lock(loggerLock);
|
||||||
if(loggers.count(group) > 0) return loggers[group];
|
if(loggers.count(group) > 0) return loggers[group];
|
||||||
//Create a new logger
|
//Create a new logger
|
||||||
if(group > 0){
|
if(group != 0 && group != -1)
|
||||||
logger(0)->debug("Creating new grouped logger for group {}", group);
|
logger(0)->debug("Creating new grouped logger for group {}", group);
|
||||||
}
|
|
||||||
|
|
||||||
vector<spdlog::sink_ptr> sinks;
|
vector<spdlog::sink_ptr> sinks;
|
||||||
string path;
|
string path;
|
||||||
|
Loading…
Reference in New Issue
Block a user