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