示例#1
0
 protected function createLogger()
 {
     Logger::$StartTime = microtime(true);
     Logger::$ConfigPath = $this->projectPath . '/config/config.yml';
     Logger::$Console = $this->app->isConsole();
     Logger::getInstance()->begin();
     Logger::getInstance()->debug("Start request " . $this->app->getUri());
 }