protected static function logError(self $e): void
    {
        if (class_exists('\Osf\Log\LogProxy')) {
            $msg = get_class($e) . ' : ' . $e->getMessage();
            try {
                \Osf\Log\LogProxy::log($msg, $e->getLogLevel(), 'PHPERR', $e->getTraceAsString());
            } catch (\Exception $ex) {
                file_put_contents(sys_get_temp_dir() . '/undisplayed-sma-errors.log', date('Ymd-His-') . $ex->getMessage(), FILE_APPEND);
            }
        }
    }
protected static function logError(self $e): void
    {
        if (class_exists('\Osf\Log\LogProxy')) {
            $msg = get_class($e) . ' : ' . $e->getMessage();
            try {
                \Osf\Log\LogProxy::log($msg, $e->getLogLevel(), 'PHPERR', $e->getTraceAsString());
            } catch (\Exception $ex) {
                file_put_contents(sys_get_temp_dir() . '/undisplayed-sma-errors.log', date('Ymd-His-') . $ex->getMessage(), FILE_APPEND);
            }
        }
    }
protected static function logError ( self $ e ) : void { if ( class_exists ( '\Osf\Log\LogProxy' ) ) { $ msg = get_class ( $ e ) . ' : ' . $ e -> getMessage ( ) ; try { \ Osf \ Log \ LogProxy :: log ( $ msg , $ e -> getLogLevel ( ) , 'PHPERR' , $ e -> getTraceAsString ( ) ) ; } catch ( \ Exception $ ex ) { file_put_contents ( sys_get_temp_dir ( ) . '/undisplayed-sma-errors.log' , date ( 'Ymd-His-' ) . $ ex -> getMessage ( ) , FILE_APPEND ) ; } } }
Error -> Osf\Log\LogProxy
@param self $e
@return void
Error - > Osf \ Log \ LogProxy