Sha256: bf6990a3e8a579e217a6e2e6e4fb0950115e55cfb99f7453a984241f23509352
Contents?: true
Size: 904 Bytes
Versions: 163
Compression:
Stored size: 904 Bytes
Contents
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
163 entries across 163 versions & 1 rubygems