Implement another level of logging for tracing
This commit is contained in:
@@ -17,6 +17,8 @@ from utils.cleanup import handler
|
||||
signal(SIGINT, handler) # Handle Ctrl-C and run the cleanup routine
|
||||
if "--debug" in sys.argv: # yes really
|
||||
main.config["Debug"] = True
|
||||
if "--trace" in sys.argv:
|
||||
main.config["Trace"] = True
|
||||
from utils.logging.log import *
|
||||
from utils.loaders.command_loader import loadCommands
|
||||
from core.server import Server, ServerFactory
|
||||
|
||||
Reference in New Issue
Block a user