예제 #1
0
 function setLogLevel($level)
 {
     parent::setLogLevel($level);
     foreach ($this->_loggers as &$logger) {
         $logger->setLogLevel($level);
     }
 }
예제 #2
0
 function __construct($callback, $level = Ergo_Logger::INFO)
 {
     parent::__construct($level);
     $this->_callback = $callback;
 }
예제 #3
0
 /**
  * Construct a logger with a default level of trace
  */
 function __construct($ansi = false, $level = Ergo_Logger::INFO)
 {
     parent::__construct($level);
     $this->_ansi = $ansi;
 }