Class: Seahorse::Client::Plugins::Logging Private

Inherits:
Seahorse::Client::Plugin show all
Defined in:
lib/seahorse/client/plugins/logging.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Methods inherited from Seahorse::Client::Plugin

#add_options, #after_initialize, after_initialize, after_initialize_hooks, before_initialize, #before_initialize, before_initialize_hooks, handlers, literal, option, options

Methods included from HandlerBuilder

#handle, #handle_request, #handle_response, #handler_for, #new_handler

Instance Method Details

#add_handlers(handlers, config) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



28
29
30
31
32
# File '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