Example #1
0
 /**
  * 判断某个级别的日志是否打开
  *
  * @param $lv
  * @return bool
  */
 public function on($lv)
 {
     return isset($this->_switcher[$lv]) ? $this->_switcher[$lv] : Config::getLogLevel() >= $lv;
 }