Changelog
Upcoming
…
v0.2.0 2025-03-02
Many documentation improvements.
Ability to configure
StructuredFormatterusing dictConfig.StructuredFormatter: support for thedefaultargument.Rename of
LogFieldattributes:log_record_attr→source,struct_key→dest.Old names supported as constructor kwargs until 1.0.
LogField.source, other than aLogRecordattribute name, can now be a callable producing a value fromLogRecord.Fix stack info for
StructuredLogger.log.Before,
log.info("", stack_info=True)would skip the frame where the log method was called.
v0.1.1 2025-01-24
Calling
StructuredLogger.exceptionwith an exception asexc_infowill include the exception in the log instead ofNoneType: None. (#1)
v0.1 2024-08-08
Initial release