src/Services/LogCapsule.php
/**
     * Logs the message for the provided severity.
     *
     * @param string $severity The severity of the message
     * @param string $message  The message
     *
     * @return \Exception|null
     */
Logs the message for the provided severity.
@param string $severity The severity of the message
@param string $message  The message

@return \Exception|null
Logs the message for the provided severity . @param string $severity The severity of the message @param string $message The message @return \ Exception|null
private function write(string $severity, string $message): ?\Exception
    {
        $exception = null;
        invoke([self::$instance], $severity, [$message, $this->extras]);
        return $exception;
    }
private function write ( string $ severity , string $ message ) : ? \ Exception { $ exception = null ; invoke ( [ self :: $ instance ] , $ severity , [ $ message , $ this -> extras ] ) ; return $ exception ; }
Logs the message for the provided severity.
Logs the message for the provided severity .