custom-python-logger 2.0.7__tar.gz → 2.0.9__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {custom_python_logger-2.0.7/custom_python_logger.egg-info → custom_python_logger-2.0.9}/PKG-INFO +1 -1
- {custom_python_logger-2.0.7 → custom_python_logger-2.0.9}/custom_python_logger/logger.py +1 -1
- {custom_python_logger-2.0.7 → custom_python_logger-2.0.9/custom_python_logger.egg-info}/PKG-INFO +1 -1
- {custom_python_logger-2.0.7 → custom_python_logger-2.0.9}/setup.py +1 -1
- {custom_python_logger-2.0.7 → custom_python_logger-2.0.9}/LICENSE +0 -0
- {custom_python_logger-2.0.7 → custom_python_logger-2.0.9}/MANIFEST.in +0 -0
- {custom_python_logger-2.0.7 → custom_python_logger-2.0.9}/README.md +0 -0
- {custom_python_logger-2.0.7 → custom_python_logger-2.0.9}/custom_python_logger/__init__.py +0 -0
- {custom_python_logger-2.0.7 → custom_python_logger-2.0.9}/custom_python_logger/consts.py +0 -0
- {custom_python_logger-2.0.7 → custom_python_logger-2.0.9}/custom_python_logger.egg-info/SOURCES.txt +0 -0
- {custom_python_logger-2.0.7 → custom_python_logger-2.0.9}/custom_python_logger.egg-info/dependency_links.txt +0 -0
- {custom_python_logger-2.0.7 → custom_python_logger-2.0.9}/custom_python_logger.egg-info/requires.txt +0 -0
- {custom_python_logger-2.0.7 → custom_python_logger-2.0.9}/custom_python_logger.egg-info/top_level.txt +0 -0
- {custom_python_logger-2.0.7 → custom_python_logger-2.0.9}/pyproject.toml +0 -0
- {custom_python_logger-2.0.7 → custom_python_logger-2.0.9}/requirements.txt +0 -0
- {custom_python_logger-2.0.7 → custom_python_logger-2.0.9}/setup.cfg +0 -0
- {custom_python_logger-2.0.7 → custom_python_logger-2.0.9}/tests/test_logger.py +0 -0
- {custom_python_logger-2.0.7 → custom_python_logger-2.0.9}/tests/test_logger_pytest.py +0 -0
- {custom_python_logger-2.0.7 → custom_python_logger-2.0.9}/tests/test_usage_example_pytest.py +0 -0
|
@@ -156,7 +156,7 @@ def get_logger(name: str, log_level: int | None = None, extra: dict | None = Non
|
|
|
156
156
|
full_name = f"{CUSTOM_LOGGER}.{name}"
|
|
157
157
|
new_logger = CustomLoggerAdapter(logging.getLogger(full_name), extra=extra)
|
|
158
158
|
|
|
159
|
-
if
|
|
159
|
+
if log_level is None:
|
|
160
160
|
log_level = custom_logger.level
|
|
161
161
|
new_logger.setLevel(log_level)
|
|
162
162
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{custom_python_logger-2.0.7 → custom_python_logger-2.0.9}/custom_python_logger.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{custom_python_logger-2.0.7 → custom_python_logger-2.0.9}/custom_python_logger.egg-info/requires.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{custom_python_logger-2.0.7 → custom_python_logger-2.0.9}/tests/test_usage_example_pytest.py
RENAMED
|
File without changes
|