[11604] Drop outDebugInLine, outMenu.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
Vinolentus 2011-06-05 17:54:36 +04:00 committed by VladimirMangos
parent b68a88573f
commit d99e9dc611
4 changed files with 39 additions and 87 deletions

View file

@ -589,34 +589,6 @@ void Log::outDetail( const char * str, ... )
fflush(stdout);
}
void Log::outDebugInLine( const char * str, ... )
{
if (!str)
return;
if (m_logLevel >= LOG_LVL_DEBUG)
{
if (m_colored)
SetColor(true,m_colors[LogDebug]);
va_list ap;
va_start(ap, str);
vutf8printf(stdout, str, &ap);
va_end(ap);
if (m_colored)
ResetColor(true);
}
if (logfile && m_logFileLevel >= LOG_LVL_DEBUG)
{
va_list ap;
va_start(ap, str);
vfprintf(logfile, str, ap);
va_end(ap);
}
}
void Log::outDebug( const char * str, ... )
{
if (!str)
@ -770,38 +742,6 @@ void Log::outCharDump( const char * str, uint32 account_id, uint32 guid, const c
}
}
void Log::outMenu( const char * str, ... )
{
if (!str)
return;
SetColor(true,m_colors[LogNormal]);
if (m_includeTime)
outTime();
va_list ap;
va_start(ap, str);
vutf8printf(stdout, str, &ap);
va_end(ap);
ResetColor(true);
if (logfile)
{
outTimestamp(logfile);
va_start(ap, str);
vfprintf(logfile, str, ap);
va_end(ap);
fprintf(logfile, "\n" );
fflush(logfile);
}
fflush(stdout);
}
void Log::outRALog( const char * str, ... )
{
if (!str)