private function fieldsOf(\Throwable $throwable = null): string
    {
        if (null === $throwable) {
            return '||||';
        }

        return '|' . get_class($throwable)
             . '|' . $throwable->getMessage()
             . '|' . $throwable->getFile()
             . '|' . $throwable->getLine();
    }
private function fieldsOf(\Throwable $throwable = null): string
    {
        if (null === $throwable) {
            return '||||';
        }

        return '|' . get_class($throwable)
             . '|' . $throwable->getMessage()
             . '|' . $throwable->getFile()
             . '|' . $throwable->getLine();
    }
private function fieldsOf ( \ Throwable $ throwable = null ) : string { if ( null === $ throwable ) { return '||||' ; } return '|' . get_class ( $ throwable ) . '|' . $ throwable -> getMessage ( ) . '|' . $ throwable -> getFile ( ) . '|' . $ throwable -> getLine ( ) ; }
returns fields for exception to log

@param   \Throwable  $throwable  optional
@return  string
returns fields for exception to log