Skip to content

Stable version v1.7.1

Choose a tag to compare

@Dragon2fly Dragon2fly released this 08 Jan 06:51
· 51 commits to master since this release
1080f81
  • Fixed: exception raised while handling another exception is now shown correctly (thank ZeroRin).
  • New functionality:
    • Added TelegramHandler. Now you can send logs directly to telegram users/groups.
    • Support Python 3.11 Fine-grained error locations in tracebacks.
  • Usability:
    • Added level NOTICE = INFO + 5. You can do logger.notice("your message").
    • Add set/remove context injector methods.
      You can add additional information to the log record before it is actually handled.
      Refer to the TelegramHandler for a usage sample.
    • You can now set different log paths for different handlers by passing a dict to setup_logging (thank ZeroRin).