composer: add json log formatting

Configurable via config file/env
This commit is contained in:
Diaa Sami 2021-10-08 13:22:51 +02:00 committed by Diaa Sami
parent aea77ed3de
commit 3b6156a240
4 changed files with 21 additions and 4 deletions

View file

@ -0,0 +1,4 @@
# Configurable logging
* Logging is now configurable via the config file, `log_level` can be set to one of `trace`, `debug`, `info`, `warn`, `error` or `fatal`.
* JSON Logging is supported and configurable via the config file/env, `log_format` can be set to `text` or `json`.