class Aws::Plugins::Logging
Enables logging for all requests. This plugin allows you to configure your logging device, the log format and the level to log messages at.
@see Log::Formatter
@seahorse.client.option [Logger] :logger (nil) The Logger instance
to send log messages to. If this option is not set, logging will be disabled.
@seahorse.client.option [Symbol] :log_level (:info) The log level
to send messages to the logger at.
@seahorse.client.option [Logging::LogFormatter] :log_formatter The log
formatter. Defaults to {Seahorse::Client::Logging::Formatter.default}.
Public Instance Methods
add_handlers(handlers, config)
click to toggle source
# File lib/aws-sdk-core/plugins/logging.rb, line 29 def add_handlers(handlers, config) handlers.add(Handler, step: :validate) if config.logger end