MDCDict#

class lsst.log.MDCDict#

Bases: dict

Dictionary for MDC data.

This is internal class used for better formatting of MDC in Python logging output. It behaves like defaultdict(str) but overrides __str__ and __repr__ method to produce output better suited for logging records.