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