Exception: AMQ::Client::Logging::IncompatibleLoggerError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/amq/client/exceptions.rb

Overview

Raised when logger object passed to Async::Adapter.logger= does not provide API it supposed to provide.

See Also:

  • Async::Adapter.logger=

Instance Method Summary collapse

Constructor Details

#initialize(required_methods) ⇒ IncompatibleLoggerError

Returns a new instance of IncompatibleLoggerError.



76
77
78
# File 'lib/amq/client/exceptions.rb', line 76

def initialize(required_methods)
  super("Logger has to respond to the following methods: #{required_methods.inspect}")
end