Logging Configuration
monetr supports a text, JSON and a "pretty" log formatter.
config.yaml
The default log level for monetr is info. Lower log levels can create a lot of noise, debug will log each HTTP
request that the server handles, trace will log every SQL query that the application performs (except as part of
background job processing or health checks).
If you are working on monetr locally, the default local development (and unit test) logging is configured to be pretty
to make reading logs easy. The pretty logger is a fork of
github.com/golang-cz/devslog with some bug fixes applied and some tweaks to
clean up duplicate fields; fork of the code can be found here:
github.com/monetr/devslog.