*Add new console command "server set logfilelevel".

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-04-09 13:48:01 -05:00
1 parent 5a71d93bd2
commit 7e275145e2
3 files changed
+16

No files matched your search

+14
View File
@@ -252,6 +252,20 @@ bool ChatHandler::HandleAccountCreateCommand(const char* args)
return true;
}
/// Set the level of logging
bool ChatHandler::HandleServerSetLogFileLevelCommand(const char *args)
{
if(!*args)
return false;
char *NewLevel = strtok((char*)args, " ");
if (!NewLevel)
return false;
sLog.SetLogFileLevel(NewLevel);
return true;
}
/// Set the level of logging
bool ChatHandler::HandleServerSetLogLevelCommand(const char *args)
{