Utilities we use for logging throughout our projects.
- Free software: ISC license
PlainJSONFormatter
- a formatter that turns logging records intodict
s in our (somewhat in-house) format. Note it returns adict
rather than astr
, which is somewhat non-standard but compatible with thefluent-logger
package.JSONFormatter
- a subclass of the above that doesjson.dumps
so you get the stringified version of the dictionary.