1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-06 17:41: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

@ -71,6 +71,8 @@ func (p *Parser) parseLines(lines []string) (err error) {
value := strings.TrimSpace(fields[1])
switch key {
case "LOG_DATE_TIME":
p.opts.logDateTime = parseBool(value, defaultLogDateTime)
case "DEBUG":
p.opts.debug = parseBool(value, defaultDebug)
case "BASE_URL":