Beispiel #1
0
	/**
	 * @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']);
		}
	}
Beispiel #2
0
 /**
  * @param   array messages
  * @return  void
  */
 public function write(array $messages)
 {
     foreach ($messages as &$message) {
         DBlog::add_kohana_message($message['type'], $message['body']);
     }
 }