Пример #1
0
 public function writeln(Charcoal_LogMessage $message)
 {
     // 接続処理
     $this->open();
     // ファイル書き込み
     parent::write($message);
 }
Пример #2
0
 /**
  * Initialize instance
  *
  * @param Charcoal_Config $config   configuration data
  */
 public function configure($config)
 {
     parent::configure($config);
     $this->_field_order = $config->getArray('field_order', array());
     $this->_delimiter = $config->getInteger('delimiter', 0);
     $this->_double_quoted = $config->getBoolean('double_quoted', FALSE);
     $this->_eol_code = $config->getInteger('eol_code', 0);
 }