Exemplo n.º 1
0
 protected function __construct(Hash $options)
 {
     $this->_format = $options->getVal('format', $this->_default_format);
 }
Exemplo n.º 2
0
 protected function initHandler(Hash $options)
 {
     $this->_stream = FileInfo::format($options->getVal('path', 'php://stdout'));
 }
Exemplo n.º 3
0
 protected function __construct(Hash $options)
 {
     $this->_level = LogLevel::toInt($options->getVal('level', 'debug'));
 }