diff options
author | Kargatum <dowlandtop@yandex.com> | 2021-06-21 08:07:12 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-21 03:07:12 +0200 |
commit | 5787d00d545aaf4139f84f3e207c3b69b5b4231f (patch) | |
tree | 3cf485002afad54439c4632ccf7fbfe6cc9d497d /src/server/game/Scripting/ScriptSystem.cpp | |
parent | 9f80a592bbd42098a17f6fb0b4f724fbe0d8b90e (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/Scripting/ScriptSystem.cpp')
-rw-r--r-- | src/server/game/Scripting/ScriptSystem.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/server/game/Scripting/ScriptSystem.cpp b/src/server/game/Scripting/ScriptSystem.cpp index b031cf44bb..1cc148bd63 100644 --- a/src/server/game/Scripting/ScriptSystem.cpp +++ b/src/server/game/Scripting/ScriptSystem.cpp @@ -31,15 +31,15 @@ void SystemMgr::LoadScriptWaypoints() if (result) uiCreatureCount = result->GetRowCount(); - LOG_INFO("server", "TSCR: Loading Script Waypoints for " UI64FMTD " creature(s)...", uiCreatureCount); + LOG_INFO("server.loading", "TSCR: Loading Script Waypoints for " UI64FMTD " creature(s)...", uiCreatureCount); // 0 1 2 3 4 5 result = WorldDatabase.Query("SELECT entry, pointid, location_x, location_y, location_z, waittime FROM script_waypoint ORDER BY pointid"); if (!result) { - LOG_INFO("server", ">> Loaded 0 Script Waypoints. DB table `script_waypoint` is empty."); - LOG_INFO("server", " "); + LOG_INFO("server.loading", ">> Loaded 0 Script Waypoints. DB table `script_waypoint` is empty."); + LOG_INFO("server.loading", " "); return; } @@ -73,5 +73,5 @@ void SystemMgr::LoadScriptWaypoints() ++count; } while (result->NextRow()); - LOG_INFO("server", ">> Loaded %u Script Waypoint nodes in %u ms", count, GetMSTimeDiffToNow(oldMSTime)); + LOG_INFO("server.loading", ">> Loaded %u Script Waypoint nodes in %u ms", count, GetMSTimeDiffToNow(oldMSTime)); } |