Metadata-Version: 2.1
Name: focalize
Version: 0.1.0
Summary: Provide a formatter for loguru loggers that indents and contextualizes log blocks
License: MIT
Author: Tucker Beck
Author-email: tucker.beck@gmail.com
Requires-Python: >=3.8
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: loguru (>=0.5)
Requires-Dist: pendulum (>=2.0)
Description-Content-Type: text/markdown

# Focalize

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

![asciicast](https://github.com/dusktreader/focalize/blob/main/docs/source/images/focalize.gif)

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](https://github.com/dusktreader/focalize/tree/main/examples/demo.py)

## Documentation

The complete documentation can be found at the [focalize documentation page](https://dusktreader.github.io/focalize/)

