alogging.filters.pprint.
PprintArgsFilter
Bases: logging.Filter
logging.Filter
Use pprint/pformat to pretty the log message args
ie, log.debug(“foo: %s”, foo) this will pformat the value of the foo object.
filter
Determine if the specified record is to be logged.
Is the specified record to be logged? Returns 0 for no, nonzero for yes. If deemed appropriate, the record may be modified in-place.