Core/Logging: Remove LOG_FILTER_XXX defines with it's value (remember logger names are case-sensitive)

This commit is contained in:
Spp
2013-11-08 10:50:51 +01:00
parent 16a51e328a
commit 94e2b9332a
238 changed files with 4540 additions and 4587 deletions

View File

@@ -30,7 +30,7 @@ void CharacterDatabaseCleaner::CleanDatabase()
if (!sWorld->getBoolConfig(CONFIG_CLEAN_CHARACTER_DB))
return;
TC_LOG_INFO(LOG_FILTER_GENERAL, "Cleaning character database...");
TC_LOG_INFO("misc", "Cleaning character database...");
uint32 oldMSTime = getMSTime();
@@ -64,7 +64,7 @@ void CharacterDatabaseCleaner::CleanDatabase()
sWorld->SetCleaningFlags(flags);
TC_LOG_INFO(LOG_FILTER_SERVER_LOADING, ">> Cleaned character database in %u ms", GetMSTimeDiffToNow(oldMSTime));
TC_LOG_INFO("server.loading", ">> Cleaned character database in %u ms", GetMSTimeDiffToNow(oldMSTime));
}
void CharacterDatabaseCleaner::CheckUnique(const char* column, const char* table, bool (*check)(uint32))
@@ -72,7 +72,7 @@ void CharacterDatabaseCleaner::CheckUnique(const char* column, const char* table
QueryResult result = CharacterDatabase.PQuery("SELECT DISTINCT %s FROM %s", column, table);
if (!result)
{
TC_LOG_INFO(LOG_FILTER_GENERAL, "Table %s is empty.", table);
TC_LOG_INFO("misc", "Table %s is empty.", table);
return;
}