context_logging
context_logging copied to clipboard
Tool for easy logging with current context information
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.4.3 to 7.4.4. Release notes Sourced from pytest's releases. pytest 7.4.4 (2023-12-31) Bug Fixes #11140: Fix non-string constants at the top of file being detected as docstrings...
### Describe the bug The default value and the normal context value are different types ### Steps to reproduce the behavior 1. setup_log_record() 2. logger.info("some text") 3. current_context[key] = value...
### Describe the bug ChainMap when logging ### Steps to reproduce the behavior 1. Log some text ### Expected vs actual behavior I expect ``` {'key': 'value'} ``` but actual...
## Summary closes #86 #61 ## Details Fix value convertion ## Check list - [x] Tests - [x] README.md changed if needed
## Summary Make `ContextLogRecord` faster. ## Details The `context` attribute for `ContextLogRecord` is a dict built directly from `_context_data` dicts instead of UserDict/ChainMap proxy. According to measurements this variant collects...