Method: Hanami::Config::Logger#level

Defined in:
lib/hanami/config/logger.rb

#levelSymbol

Sets or returns the logger’s level.

Defaults to ‘:info` for the production environment and `:debug` for all others.

Returns:

  • (Symbol)

Since:

  • 2.0.0

[View source]

36
# File 'lib/hanami/config/logger.rb', line 36

setting :level