* 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
This commit is contained in:
XTZGZoReX
2009-03-19 21:13:52 +01:00
parent fd2f768dfd
commit 9fe43fa9c0
29 changed files with 673 additions and 739 deletions
-7
View File
@@ -365,9 +365,6 @@ class ByteBuffer
uint32 j = 1, k = 1;
sLog.outDebug("STORAGE_SIZE: %u", size() );
if(sLog.IsIncludeTime())
sLog.outDebugInLine(" ");
for(uint32 i = 0; i < size(); i++)
{
if ((i == (j*8)) && ((i != (k*16))))
@@ -387,16 +384,12 @@ class ByteBuffer
if (read<uint8>(i) < 0x0F)
{
sLog.outDebugInLine("\n");
if(sLog.IsIncludeTime())
sLog.outDebugInLine(" ");
sLog.outDebugInLine("0%X ", read<uint8>(i) );
}
else
{
sLog.outDebugInLine("\n");
if(sLog.IsIncludeTime())
sLog.outDebugInLine(" ");
sLog.outDebugInLine("%X ", read<uint8>(i) );
}