protected function messageToString($level, $message, array $context)
    {
        if (!empty($context)) {
            $message .= ' '.json_encode($context, JSON_UNESCAPED_UNICODE | JSON_PARTIAL_OUTPUT_ON_ERROR);
        }

        return $message;
    }
protected function messageToString($level, $message, array $context)
    {
        if (!empty($context)) {
            $message .= ' '.json_encode($context, JSON_UNESCAPED_UNICODE | JSON_PARTIAL_OUTPUT_ON_ERROR);
        }

        return $message;
    }
protected function messageToString ( $ level , $ message , array $ context ) { if ( ! empty ( $ context ) ) { $ message .= ' ' . json_encode ( $ context , JSON_UNESCAPED_UNICODE | JSON_PARTIAL_OUTPUT_ON_ERROR ) ; } return $ message ; }
Converts a log message and its context to a string.

Arguments are the same as in the `log` method.

@return string
Converts a log message and its context to a string .