Logquacious

Latest version: v0.5.0

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

Scan your dependencies

0.5.0

------------------

- Backport `stacklevel` keyword argument from Python 3.8 and configure
stacklevel such that logging utilities report the context (e.g. filename
and line number) where `logquacious` utilities are called.

0.4.0

------------------

- Fix config override behavior to extend rather than replace default templates

0.3.0

------------------

- Add decorator support for `log.and_suppress` and `log.and_reraise` context
managers
- Suppress logging for null/empty log message templates

0.2.0

------------------

Changed default templates. In 0.1.0, the templates were:

.. code:: python

DEFAULT_TEMPLATES = {
'start': 'Start {label}',
'finish': 'Finish {label}',
}


These defaults have been changed to:

.. code:: python

DEFAULT_TEMPLATES = {
'start': 'Enter {label}',
'finish': 'Exit {label}',
'function.start': 'Call `{label}({arguments})`',
'function.finish': 'Return from `{label}`',
}

0.1.0

------------------

* First release on PyPI.

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.