Skip to main content

Provide a formatter for loguru loggers that indents and contextualizes log blocks

Project description

Focalize

You can't depend on your eyes when your imagination is out of focus --Mark Twain

asciicast

Focalize provides context within logs for blocks of code that are encircled by a context manager. This helps contextualize log lines within deeply nested call chains or within complex operations where many logical steps are taken.

Super-quick Start

  • Only requires Python 3.8 or later
  • Installed with pip ($ pip install focalize)
  • Demo available in examples

Documentation

The complete documentation can be found at the focalize documentation page

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

focalize-0.1.0.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

focalize-0.1.0-py3-none-any.whl (4.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page