public function logException(\Exception $e)
    {
        $error = $e->getMessage() . $e->getTraceAsString();
        return $this->logEmergency($error);
    }
public function logException(\Exception $e)
    {
        $error = $e->getMessage() . $e->getTraceAsString();
        return $this->logEmergency($error);
    }
public function logException ( \ Exception $ e ) { $ error = $ e -> getMessage ( ) . $ e -> getTraceAsString ( ) ; return $ this -> logEmergency ( $ error ) ; }
Logs an exeption

@param \Exception $e
@return bool
Logs an exeption