Updating DebugkitLogger to changes in the Logging library in CakePHP

Updates code after https://github.com/cakephp/cakephp/pull/4675