Preprocessor option for logging functions (#567)
* Update showoptions.cmake * Update config.cmake.dist * Example of preprocessor usage Other work must continue for PR https://github.com/azerothcore/azerothcore-wotlk/pull/519
This commit is contained in:
parent
246826e002
commit
f888e8c86b
3 changed files with 11 additions and 1 deletions
|
|
@ -34,7 +34,9 @@ namespace MMAP
|
|||
FILE* file = fopen(fileName, "rb");
|
||||
if (!file)
|
||||
{
|
||||
;//sLog->outDebug(LOG_FILTER_MAPS, "MMAP:loadMapData: Error: Could not open mmap file '%s'", fileName);
|
||||
#if defined(DISABLE_EXTRAS) || defined(DISABLE_EXTRA_LOGS)
|
||||
sLog->outDebug(LOG_FILTER_MAPS, "MMAP:loadMapData: Error: Could not open mmap file '%s'", fileName);
|
||||
#endif
|
||||
delete [] fileName;
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue