Make debug logging format more verbose

This commit is contained in:
Matthias Beyer 2017-09-20 22:14:30 +02:00
parent e2bf6c48ef
commit c0214cafd3

View file

@ -39,7 +39,7 @@ destinations = [ "-" ]
[imag.logging.format] [imag.logging.format]
trace = "[imag][{{red level}}][{{module_path}}]: {{message}}" trace = "[imag][{{red level}}][{{module_path}}]: {{message}}"
debug = "[imag][{{cyan level}}]: {{message}}" debug = "[imag][{{cyan level}}][{{yellow target}}]: {{message}}"
info = "[imag]: {{message}}" info = "[imag]: {{message}}"
warn = "[imag][{{bold level}}]: {{yellow message}}" warn = "[imag][{{bold level}}]: {{yellow message}}"
error = "[imag][{{red level}}]: {{red message}}" error = "[imag][{{red level}}]: {{red message}}"