class Seahorse::Client::Plugins::Logging
formatter. Defaults to {Seahorse::Client::Logging::Formatter.default}.
@seahorse.client.option [Logging::LogFormatter] :log_formatter The log
to send messages to the logger at.
@seahorse.client.option [Symbol] :log_level (:info) The log level
will be disabled.
to send log messages to. If this option is not set, logging
@seahorse.client.option [Logger] :logger (nil) The Logger instance
@see Logging::Formatter
your logging device, the log format and the level to log messages at.
Enables logging for all requests. This plugin allows you to configure
def add_handlers(handlers, config)
def add_handlers(handlers, config) if config.logger handlers.add(Client::Logging::Handler, step: :validate) end end