diff options
author | XTZGZoReX <none@none> | 2009-03-19 21:13:52 +0100 |
---|---|---|
committer | XTZGZoReX <none@none> | 2009-03-19 21:13:52 +0100 |
commit | 9fe43fa9c0bd21f6c203072f19a77a570680ecab (patch) | |
tree | 5592cf3a9b39a04e7e81295408625713a6fdd2bd /src/game/PoolHandler.cpp | |
parent | fd2f768dfd7c877880942477a7d1b1645f5bfab9 (diff) |
* Implementing database logging:
** LogTime and LogColors config options removed due to incompatibility.
** Old file logging still available.
** Totally redone the Log class.
** Config options added: EnableLogDB, DBLogLevel, LogDB.Char, LogDB.RA, LogDB.GM -- remember to update config file.
** SQL updates attached.
--HG--
branch : trunk
Diffstat (limited to 'src/game/PoolHandler.cpp')
-rw-r--r-- | src/game/PoolHandler.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/game/PoolHandler.cpp b/src/game/PoolHandler.cpp index bd47c7b6a89..a2c688dac2f 100644 --- a/src/game/PoolHandler.cpp +++ b/src/game/PoolHandler.cpp @@ -342,7 +342,7 @@ void PoolHandler::LoadFromDB() if (!result) { sLog.outString(">> Table pool_template is empty."); - sLog.outString(); + sLog.outString(""); return; } else @@ -359,7 +359,7 @@ void PoolHandler::LoadFromDB() { mPoolTemplate.clear(); sLog.outString(">> Table pool_template is empty:"); - sLog.outString(); + sLog.outString(""); return; } @@ -380,7 +380,7 @@ void PoolHandler::LoadFromDB() } while (result->NextRow()); - sLog.outString(); + sLog.outString(""); sLog.outString( ">> Loaded %u objects pools", count ); delete result; @@ -397,7 +397,7 @@ void PoolHandler::LoadFromDB() barGoLink bar2(1); bar2.step(); - sLog.outString(); + sLog.outString(""); sLog.outString(">> Loaded %u creatures in pools", count ); } else @@ -440,7 +440,7 @@ void PoolHandler::LoadFromDB() mCreatureSearchMap.insert(p); } while (result->NextRow()); - sLog.outString(); + sLog.outString(""); sLog.outString( ">> Loaded %u creatures in pools", count ); delete result; } @@ -458,7 +458,7 @@ void PoolHandler::LoadFromDB() barGoLink bar2(1); bar2.step(); - sLog.outString(); + sLog.outString(""); sLog.outString(">> Loaded %u gameobject in pools", count ); } else @@ -510,7 +510,7 @@ void PoolHandler::LoadFromDB() mGameobjectSearchMap.insert(p); } while( result->NextRow() ); - sLog.outString(); + sLog.outString(""); sLog.outString( ">> Loaded %u gameobject in pools", count ); delete result; } @@ -526,7 +526,7 @@ void PoolHandler::LoadFromDB() barGoLink bar2(1); bar2.step(); - sLog.outString(); + sLog.outString(""); sLog.outString(">> Loaded %u pools in pools", count ); } else @@ -598,7 +598,7 @@ void PoolHandler::LoadFromDB() } } } - sLog.outString(); + sLog.outString(""); sLog.outString( ">> Loaded %u pools in mother pools", count ); delete result; } |