Changelog

Upcoming

v0.2.0 2025-03-02

  • Many documentation improvements.

  • Ability to configure StructuredFormatter using dictConfig.

  • StructuredFormatter: support for the default argument.

  • Rename of LogField attributes: log_record_attrsource, struct_keydest.

    Old names supported as constructor kwargs until 1.0.

  • LogField.source, other than a LogRecord attribute name, can now be a callable producing a value from LogRecord.

  • 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

v0.1 2024-08-08

Initial release