Added handling of %f
directive to print microseconds in log format options, such as log-date-format
. Added helper pytest.logging.DatetimeFormatter <_pytest.logging.DatetimeFormatter>
which overrides logging.Formatter
behaviour to print log records with a microsecond-aware function datetime.strftime
instead of time.strftime
.