Browse Source

Default logger was never set for production mode.

master
Benjamin Shelton 2 weeks ago
parent
commit
73c8e01245
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      application.go

+ 1
- 0
application.go View File

@ -88,6 +88,7 @@ func New(conf ...*config.Config) *application {
switch mode {
case "production":
app.logger.SetLevel(logging.Warning)
case "development":
app.logger.SetLevel(logging.Debug)
}


Loading…
Cancel
Save