A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.aws.amazon.com/sdkforruby/api/Seahorse/Client/Plugins/Logging.html below:

Logging — AWS SDK for Ruby V2

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Seahorse::Client::Plugins::Logging Overview

Enables logging for all requests. This plugin allows you to configure your logging device, the log format and the level to log messages at.

Attribute Summary collapse Instance Method Summary collapse Methods inherited from Seahorse::Client::Plugin

#add_options, #after_initialize, after_initialize, #before_initialize, before_initialize, option

Methods included from HandlerBuilder

#handle, #handle_request, #handle_response

Instance Method Details #add_handlers(handlers, config) ⇒ Object
28
29
30
31
32
# File 'aws-sdk-core/lib/seahorse/client/plugins/logging.rb', line 28

def add_handlers(handlers, config)
  if config.logger
    handlers.add(Client::Logging::Handler, step: :validate)
  end
end

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4