public static function removeLogger($logger)
    {
        if ($logger instanceof Logger) {
            if (false !== ($idx = array_search($logger, self::$loggers, true))) {
                unset(self::$loggers[$idx]);
            }
        } else {
            unset(self::$loggers[$logger]);
        }
    }
public static function removeLogger($logger)
    {
        if ($logger instanceof Logger) {
            if (false !== ($idx = array_search($logger, self::$loggers, true))) {
                unset(self::$loggers[$idx]);
            }
        } else {
            unset(self::$loggers[$logger]);
        }
    }
public static function removeLogger ( $ logger ) { if ( $ logger instanceof Logger ) { if ( false !== ( $ idx = array_search ( $ logger , self :: $ loggers , true ) ) ) { unset ( self :: $ loggers [ $ idx ] ) ; } } else { unset ( self :: $ loggers [ $ logger ] ) ; } }
Removes instance from registry by name or instance

@param string|Logger $logger Name or logger instance
Removes instance from registry by name or instance