fixed E_NOTICE: Undefined index: debug_mode in Logger class
Merge pull request #306 from takeit/master

fixed E_NOTICE: Undefined index: debug_mode in Logger class