lib/dry/system/plugins/logging.rb in dry-system-0.18.2 vs lib/dry/system/plugins/logging.rb in dry-system-0.19.0
- old
+ new
@@ -11,10 +11,13 @@
system.before(:configure) do
setting :logger, reader: true
setting :log_dir, "log"
- setting :log_levels, {development: Logger::DEBUG, test: Logger::DEBUG, production: Logger::ERROR}
+ setting :log_levels,
+ development: Logger::DEBUG,
+ test: Logger::DEBUG,
+ production: Logger::ERROR
setting :logger_class, ::Logger, reader: true
end
system.after(:configure, &:register_logger)