Added ability to setDebug mode for the Logger.
Add TODO for config.