- Use tox for testing
- 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.
- Fix config override behavior to extend rather than replace default templates
- Add decorator support for log.and_suppress and log.and_reraise context managers
- Suppress logging for null/empty log message templates
Changed default templates. In 0.1.0, the templates were:
DEFAULT_TEMPLATES = {
'start': 'Start {label}',
'finish': 'Finish {label}',
}
These defaults have been changed to:
DEFAULT_TEMPLATES = {
'start': 'Enter {label}',
'finish': 'Exit {label}',
'function.start': 'Call `{label}({arguments})`',
'function.finish': 'Return from `{label}`',
}
- First release on PyPI.