*Add new console command "server set logfilelevel".
--HG-- branch : trunk
This commit is contained in:
1 parent
5a71d93bd2
commit
7e275145e2
3 files changed
+16
No files matched your search
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user