public static function getInstance($name)
    {
        if (!isset(self::$loggers[$name])) {
            throw new InvalidArgumentException(sprintf('Requested "%s" logger instance is not in the registry', $name));
        }

        return self::$loggers[$name];
    }
public static function getInstance($name)
    {
        if (!isset(self::$loggers[$name])) {
            throw new InvalidArgumentException(sprintf('Requested "%s" logger instance is not in the registry', $name));
        }

        return self::$loggers[$name];
    }
public static function getInstance ( $ name ) { if ( ! isset ( self :: $ loggers [ $ name ] ) ) { throw new InvalidArgumentException ( sprintf ( 'Requested "%s" logger instance is not in the registry' , $ name ) ) ; } return self :: $ loggers [ $ name ] ; }
Gets Logger instance from the registry

@param  string                    $name Name of the requested Logger instance
@throws \InvalidArgumentException If named Logger instance is not in the registry
@return Logger                    Requested instance of Logger
Gets Logger instance from the registry