Пример #1
0
 /**
  * init the log manager
  */
 private function _init_log()
 {
     $config = Sys_Config::config('log/base');
     if ($config) {
         $this->_configure['path']['log'] = isset($config['path']) ? $config['path'] : 'logs';
         $config['path'] = self::log_path();
     } else {
         $config = [];
     }
     \Lib_Log::get_instance()->init($config);
 }