1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-06-27 16:36:00 +00:00

Add option to toggle date/time in log messages

This commit is contained in:
Frédéric Guillot 2019-06-08 17:16:12 -07:00 committed by fguillot
parent f7b7b63e3f
commit 91508c50b5
5 changed files with 49 additions and 1 deletions

View file

@ -78,6 +78,10 @@ func Parse() {
return
}
if config.Opts.LogDateTime() {
logger.EnableDateTime()
}
if flagDebugMode || config.Opts.HasDebugMode() {
logger.EnableDebug()
}