protected static function formatLine($level, $message, array $context = array())
    {
        return sprintf(
            "%s: %s\n",
            self::getLevelName($level),
            self::interpolateMessage($message, $context)
        );
    }
protected static function formatLine($level, $message, array $context = array())
    {
        return sprintf(
            "%s: %s\n",
            self::getLevelName($level),
            self::interpolateMessage($message, $context)
        );
    }
protected static function formatLine ( $ level , $ message , array $ context = array ( ) ) { return sprintf ( "%s: %s\n" , self :: getLevelName ( $ level ) , self :: interpolateMessage ( $ message , $ context ) ) ; }
Format a log line for output.

@param int    $level   The logging level
@param string $message The log message
@param array  $context The log context

@return string
Format a log line for output .