New debug log system.

You can as admin toggle debug messages, VERY useful for devs and debugging the main server.
This commit is contained in:
cib
2013-05-18 10:02:37 +02:00
parent 125991b68d
commit 0da9a4538e
4 changed files with 30 additions and 1 deletions

View File

@@ -8,6 +8,7 @@
var/log_access = 0 // log login/logout
var/log_say = 0 // log client say
var/log_admin = 0 // log admin actions
var/log_debug = 1 // log debug output
var/log_game = 0 // log game events
var/log_vote = 0 // log voting
var/log_whisper = 0 // log client whisper
@@ -193,6 +194,9 @@
if ("log_admin")
config.log_admin = 1
if ("log_debug")
config.log_debug = text2num(value)
if ("log_game")
config.log_game = 1