Config Logging
You can customize Lono logger like so
config/app.rb
Lono.configure do |config|
config.logger.level = "info"
end
Reference
The table below covers each setting. Each option is configured in config/app.rb
with config.OPTION
. The config.
portion is not shown for conciseness. IE: logger.level
vs config.logger.level
.
Name | Default | Description |
---|---|---|
log.root | The root folder where logs are written to. | log |
logger | Logger instance to use. | Logger.new($stderr) |
logger.formatter | Logger Formatter to use. See Formatter for interface. | Ufo::Logger::Formatter |
logger.level | Logger level | info |