/** * @param array messages * @return void */ public function write(array $messages) { foreach ($messages as & $message) { DBlog::add_kohana_message($this->_log_levels[$message['level']], $message['body']); } }
/** * @param array messages * @return void */ public function write(array $messages) { foreach ($messages as &$message) { DBlog::add_kohana_message($message['type'], $message['body']); } }