1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-17 09:37:02 +00:00

config: Use log level name DEBUG instead of TRACE

Add log level parsing into openLog() for #90
This commit is contained in:
James Hillyerd
2018-03-31 15:30:36 -07:00
parent deceb29377
commit 5a28e9f9e7
3 changed files with 24 additions and 12 deletions

View File

@@ -29,7 +29,7 @@ var (
// Root wraps all other configurations.
type Root struct {
LogLevel string `required:"true" default:"INFO" desc:"TRACE, INFO, WARN, or ERROR"`
LogLevel string `required:"true" default:"INFO" desc:"DEBUG, INFO, WARN, or ERROR"`
SMTP SMTP
POP3 POP3
Web Web