Log21

Latest version: v2.10.2

Safety actively analyzes 706267 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 12

2.4.7

Added `extra_values` argument to `CrashReporter.Formatter` which will let you pass extra static or dynamic values to the
report formatter.
They can be used in the format string. For dynamic values you can pass a function that takes no
arguments as the value.

2.4.6

Shortened the usage syntax for the CrashReporters:

python
import log21

Define a ConsoleReporter object
console_reporter = log21.CrashReporter.ConsoleReporter()


This works with other `log21.CrashReporter.Reporter` subclasses as well.

Old syntax (still supported)
console_reporter.reporter
def divide_old(a, b):
return a / b


New Syntax
console_reporter.reporter
def divide_new(a, b):
return a / b



`console_crash_reporter` and `file_crash_reporter` are removed!

2.4.5

Added `no_color` parameter to ProgressBar.

2.4.4

Some bug fixes.

2.4.3

Improvements.

2.4.2

Bug Fixes.

Page 5 of 12

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.