Method: Hanami::Config#logger

Defined in:
lib/hanami/config.rb

#loggerHanami::Config::Logger

Returns the logger config.

Use this to configure various options for the default ‘Dry::Logger::Dispatcher` logger instance.

Examples:

config.logger.level = :debug

Returns:

See Also:

Since:

  • 2.0.0


417
418
419
# File 'lib/hanami/config.rb', line 417

def logger
  @logger
end