Core/Log: Implement log masks for debug log level, to allow selective debug output. Update your worldserver.conf.
This commit is contained in:
1 parent
45db1591a4
commit
e07e20ffca
99 files changed
+1046
-1092
No files matched your search
@@ -274,7 +274,7 @@ namespace VMAP
|
||||
delete worldmodel;
|
||||
return NULL;
|
||||
}
|
||||
sLog->outDebug("VMapManager2: loading file '%s%s'", basepath.c_str(), filename.c_str());
|
||||
sLog->outDebug(LOG_FILTER_MAPS, "VMapManager2: loading file '%s%s'", basepath.c_str(), filename.c_str());
|
||||
model = iLoadedModelFiles.insert(std::pair<std::string, ManagedModel>(filename, ManagedModel())).first;
|
||||
model->second.setModel(worldmodel);
|
||||
}
|
||||
@@ -292,7 +292,7 @@ namespace VMAP
|
||||
}
|
||||
if( model->second.decRefCount() == 0)
|
||||
{
|
||||
sLog->outDebug("VMapManager2: unloading file '%s'", filename.c_str());
|
||||
sLog->outDebug(LOG_FILTER_MAPS, "VMapManager2: unloading file '%s'", filename.c_str());
|
||||
delete model->second.getModel();
|
||||
iLoadedModelFiles.erase(model);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user