Method: Hanami::Config#logger=

Defined in:
lib/hanami/config.rb

#logger=(logger_instance) ⇒ Object

Sets the app’s logger instance.

This entirely replaces the default Dry::Logger::Dispatcher instance that would have been

See Also:

Since:

  • 2.0.0



442
443
444
# File 'lib/hanami/config.rb', line 442

def logger=(logger_instance)
  @logger_instance = logger_instance
end