summaryrefslogtreecommitdiff
path: root/src/server/game/Conditions/DisableMgr.cpp
diff options
context:
space:
mode:
authorKargatum <dowlandtop@yandex.com>2021-06-21 08:07:12 +0700
committerGitHub <noreply@github.com>2021-06-21 03:07:12 +0200
commit5787d00d545aaf4139f84f3e207c3b69b5b4231f (patch)
tree3cf485002afad54439c4632ccf7fbfe6cc9d497d /src/server/game/Conditions/DisableMgr.cpp
parent9f80a592bbd42098a17f6fb0b4f724fbe0d8b90e (diff)
chore(Core/Logging): replace most server loggers (#5726)
* chore(Core/Logging): replace most server loggers Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
Diffstat (limited to 'src/server/game/Conditions/DisableMgr.cpp')
-rw-r--r--src/server/game/Conditions/DisableMgr.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/server/game/Conditions/DisableMgr.cpp b/src/server/game/Conditions/DisableMgr.cpp
index 85b6b3f541..62114d22c2 100644
--- a/src/server/game/Conditions/DisableMgr.cpp
+++ b/src/server/game/Conditions/DisableMgr.cpp
@@ -49,8 +49,8 @@ namespace DisableMgr
if (!result)
{
- LOG_INFO("server", ">> Loaded 0 disables. DB table `disables` is empty!");
- LOG_INFO("server", " ");
+ LOG_INFO("server.loading", ">> Loaded 0 disables. DB table `disables` is empty!");
+ LOG_INFO("server.loading", " ");
return;
}
@@ -198,28 +198,28 @@ namespace DisableMgr
{
case MAP_COMMON:
if (flags & VMAP::VMAP_DISABLE_AREAFLAG)
- LOG_INFO("server", "Areaflag disabled for world map %u.", entry);
+ LOG_INFO("disable", "Areaflag disabled for world map %u.", entry);
if (flags & VMAP::VMAP_DISABLE_LIQUIDSTATUS)
- LOG_INFO("server", "Liquid status disabled for world map %u.", entry);
+ LOG_INFO("disable", "Liquid status disabled for world map %u.", entry);
break;
case MAP_INSTANCE:
case MAP_RAID:
if (flags & VMAP::VMAP_DISABLE_HEIGHT)
- LOG_INFO("server", "Height disabled for instance map %u.", entry);
+ LOG_INFO("disable", "Height disabled for instance map %u.", entry);
if (flags & VMAP::VMAP_DISABLE_LOS)
- LOG_INFO("server", "LoS disabled for instance map %u.", entry);
+ LOG_INFO("disable", "LoS disabled for instance map %u.", entry);
break;
case MAP_BATTLEGROUND:
if (flags & VMAP::VMAP_DISABLE_HEIGHT)
- LOG_INFO("server", "Height disabled for battleground map %u.", entry);
+ LOG_INFO("disable", "Height disabled for battleground map %u.", entry);
if (flags & VMAP::VMAP_DISABLE_LOS)
- LOG_INFO("server", "LoS disabled for battleground map %u.", entry);
+ LOG_INFO("disable", "LoS disabled for battleground map %u.", entry);
break;
case MAP_ARENA:
if (flags & VMAP::VMAP_DISABLE_HEIGHT)
- LOG_INFO("server", "Height disabled for arena map %u.", entry);
+ LOG_INFO("disable", "Height disabled for arena map %u.", entry);
if (flags & VMAP::VMAP_DISABLE_LOS)
- LOG_INFO("server", "LoS disabled for arena map %u.", entry);
+ LOG_INFO("disable", "LoS disabled for arena map %u.", entry);
break;
default:
break;
@@ -234,8 +234,8 @@ namespace DisableMgr
++total_count;
} while (result->NextRow());
- LOG_INFO("server", ">> Loaded %u disables in %u ms", total_count, GetMSTimeDiffToNow(oldMSTime));
- LOG_INFO("server", " ");
+ LOG_INFO("server.loading", ">> Loaded %u disables in %u ms", total_count, GetMSTimeDiffToNow(oldMSTime));
+ LOG_INFO("server.loading", " ");
}
void CheckQuestDisables()
@@ -245,8 +245,8 @@ namespace DisableMgr
uint32 count = m_DisableMap[DISABLE_TYPE_QUEST].size();
if (!count)
{
- LOG_INFO("server", ">> Checked 0 quest disables.");
- LOG_INFO("server", " ");
+ LOG_INFO("server.loading", ">> Checked 0 quest disables.");
+ LOG_INFO("server.loading", " ");
return;
}
@@ -265,8 +265,8 @@ namespace DisableMgr
++itr;
}
- LOG_INFO("server", ">> Checked %u quest disables in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
- LOG_INFO("server", " ");
+ LOG_INFO("server.loading", ">> Checked %u quest disables in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
+ LOG_INFO("server.loading", " ");
}
bool IsDisabledFor(DisableType type, uint32 entry, Unit const* unit, uint8 flags)