/**
 * Log exception.
 *
 * @param \Exception $e_
 */
function exception_log(\Exception $e_)
{
    if ($e_ instanceof \Components\Runtime_Exception) {
        $e_->log();
    } else {
        $type = get_class($e_);
        \Components\Log::error(strtolower(strtr($type, '\\_', '//')), '[%s] %s%s', \math\hasho_md5($e_), $type, $e_);
    }
}
 /**
  * @see \Components\Runtime_Exception::log() log
  */
 public function log()
 {
     if ($this->m_logEnabled) {
         Log::error($this->m_namespace, '[%s] %s%s', \math\hasho_md5($this), get_class($this), $this);
     }
 }
 /**
  * @return \Components\Http_Exception
  */
 public function addException(\Exception $exception_)
 {
     $this->m_parameters['e'][\math\hasho_md5($exception_)] = $exception_;
 }