* Some costmetic changes in Log class.
* Removed LOG_TYPE_PACKET and changed LOG_TYPE_CRASH from 10 to 9. --HG-- branch : trunk
This commit is contained in:
@@ -487,18 +487,6 @@ void Log::outErrorDb( const char * err, ... )
|
|||||||
if( !err )
|
if( !err )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
/*
|
|
||||||
if (m_enableLogDB)
|
|
||||||
{
|
|
||||||
va_list ap2;
|
|
||||||
va_start(ap2, err);
|
|
||||||
char nnew_str[MAX_QUERY_LEN];
|
|
||||||
vsnprintf(nnew_str, MAX_QUERY_LEN, err, ap2);
|
|
||||||
outDB(LOG_TYPE_DBERR, nnew_str);
|
|
||||||
va_end(ap2);
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
if(m_colored)
|
if(m_colored)
|
||||||
SetColor(false,RED);
|
SetColor(false,RED);
|
||||||
|
|
||||||
|
|||||||
+1
-2
@@ -46,8 +46,7 @@ enum LogTypes
|
|||||||
LOG_TYPE_WORLD = 6,
|
LOG_TYPE_WORLD = 6,
|
||||||
LOG_TYPE_RA = 7,
|
LOG_TYPE_RA = 7,
|
||||||
LOG_TYPE_GM = 8,
|
LOG_TYPE_GM = 8,
|
||||||
LOG_TYPE_PACKET = 9,
|
LOG_TYPE_CRASH = 9,
|
||||||
LOG_TYPE_CRASH = 10,
|
|
||||||
MAX_LOG_TYPES
|
MAX_LOG_TYPES
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user