Files
gitlab-ce/gems/gitlab-http/lib/gitlab/http_v2/configuration.rb
2025-02-06 03:12:36 +00:00

22 lines
468 B
Ruby

# frozen_string_literal: true
module Gitlab
module HTTP_V2
class Configuration
attr_accessor :allowed_internal_uris, :log_exception_proc, :silent_mode_log_info_proc, :log_with_level_proc
def log_exception(...)
log_exception_proc&.call(...)
end
def silent_mode_log_info(...)
silent_mode_log_info_proc&.call(...)
end
def log_with_level(...)
log_with_level_proc&.call(...)
end
end
end
end