implement custom logging formatter

supports custom log message formats for each loglevel and, by
extension, custom ANSI codes and colors for errors and warnings

(#304)
This commit is contained in:
Mike Fährmann
2019-06-21 19:56:09 +02:00
parent 70713f0f28
commit 15e4ddf46d
4 changed files with 55 additions and 16 deletions

View File

@@ -175,6 +175,7 @@
"mode": "auto",
"progress": true,
"shorten": true,
"log": "[{name}][{levelname}] {message}",
"logfile": null,
"unsupportedfile": null
},