Sha256: d8c1a0f57ee434db135870eee68de2f616b7402f3500599e6e01132d13485e3a
Contents?: true
Size: 935 Bytes
Versions: 203
Compression:
Stored size: 935 Bytes
Contents
# frozen_string_literal: true module Seahorse module Client module Plugins # @api private class Logging < Plugin option(:logger, default: nil, doc_type: 'Logger', docstring: <<-DOCS) The Logger instance to send log messages to. If this option is not set, logging is disabled. DOCS option(:log_level, default: :info, doc_type: Symbol, docstring: 'The log level to send messages to the logger at.') option(:log_formatter, default: Seahorse::Client::Logging::Formatter.default, doc_default: 'Aws::Log::Formatter.default', doc_type: 'Aws::Log::Formatter', docstring: 'The log formatter.') def add_handlers(handlers, config) if config.logger handlers.add(Client::Logging::Handler, step: :validate) end end end end end end
Version data entries
203 entries across 203 versions & 1 rubygems