コード例 #1
0
ファイル: LineFormatter.php プロジェクト: hossy78/nora
 protected function __construct(Hash $options)
 {
     $this->_format = $options->getVal('format', $this->_default_format);
 }
コード例 #2
0
ファイル: StreamHandler.php プロジェクト: hossy78/nora
 protected function initHandler(Hash $options)
 {
     $this->_stream = FileInfo::format($options->getVal('path', 'php://stdout'));
 }
コード例 #3
0
ファイル: LevelFilter.php プロジェクト: hossy78/nora
 protected function __construct(Hash $options)
 {
     $this->_level = LogLevel::toInt($options->getVal('level', 'debug'));
 }