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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file focalize-0.1.0.tar.gz.

File metadata

  • Download URL: focalize-0.1.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.8.17 Linux/5.15.0-1041-azure

File hashes

Hashes for focalize-0.1.0.tar.gz
Algorithm Hash digest
SHA256 bec779eb1a2729190c0aa8faf810a796cd1ee478dc26ecbd8f9dc263b9d3ac87
MD5 00dc7d890c0cfffe58d221e8de8c0c3e
BLAKE2b-256 05e76ae4f3316cbc437699dd6db7b9cf8b8aa7e1abef3aa11ffc46aa8ef575f9

See more details on using hashes here.

File details

Details for the file focalize-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: focalize-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.8.17 Linux/5.15.0-1041-azure

File hashes

Hashes for focalize-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 81d5cce6ec669fc5f385191d02f379d4f2f06941ffe45536d4eac607e67d6233
MD5 08212b34bfae1a04a9d3b106521b1a2d
BLAKE2b-256 694658a51aea391649024cb7528db24c6bb4836f8ad559b8cc1a28821ef4f1e5

See more details on using hashes here.

Supported by

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