yplan-logging-utils
Utilities we use for logging throughout our projects.
- Free software: ISC license
Features
-
PlainJSONFormatter
- a formatter that turns logging records intodict``s in our (somewhat in-house) format. Note it returns a ``dict
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.