PrecisionLogFormatter#
- class lsst.daf.butler.cli.cliLog.PrecisionLogFormatter(fmt=None, datefmt=None, style='%', validate=True, *, defaults=None)#
Bases:
FormatterA log formatter that issues accurate timezone-aware timestamps.
Attributes Summary
Control whether local time is displayed instead of UTC.
Methods Summary
timestamp[, tz] -> tz's local time from POSIX timestamp.
formatTime(record[, datefmt])Format the time as an aware datetime.
Attributes Documentation
- use_local = True#
Control whether local time is displayed instead of UTC.
Methods Documentation
- converter()#
timestamp[, tz] -> tz’s local time from POSIX timestamp.