original_string: 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);
              }
          }
      }
code: 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);
              }
          }
      }
code_tokens: 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 ) ; } } }
docstring: Error -> Osf\Log\LogProxy
  @param self $e
  @return void
docstring_tokens: Error - > Osf \ Log \ LogProxy