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.
Files changed (19) hide show
  1. {custom_python_logger-2.0.7/custom_python_logger.egg-info → custom_python_logger-2.0.9}/PKG-INFO +1 -1
  2. {custom_python_logger-2.0.7 → custom_python_logger-2.0.9}/custom_python_logger/logger.py +1 -1
  3. {custom_python_logger-2.0.7 → custom_python_logger-2.0.9/custom_python_logger.egg-info}/PKG-INFO +1 -1
  4. {custom_python_logger-2.0.7 → custom_python_logger-2.0.9}/setup.py +1 -1
  5. {custom_python_logger-2.0.7 → custom_python_logger-2.0.9}/LICENSE +0 -0
  6. {custom_python_logger-2.0.7 → custom_python_logger-2.0.9}/MANIFEST.in +0 -0
  7. {custom_python_logger-2.0.7 → custom_python_logger-2.0.9}/README.md +0 -0
  8. {custom_python_logger-2.0.7 → custom_python_logger-2.0.9}/custom_python_logger/__init__.py +0 -0
  9. {custom_python_logger-2.0.7 → custom_python_logger-2.0.9}/custom_python_logger/consts.py +0 -0
  10. {custom_python_logger-2.0.7 → custom_python_logger-2.0.9}/custom_python_logger.egg-info/SOURCES.txt +0 -0
  11. {custom_python_logger-2.0.7 → custom_python_logger-2.0.9}/custom_python_logger.egg-info/dependency_links.txt +0 -0
  12. {custom_python_logger-2.0.7 → custom_python_logger-2.0.9}/custom_python_logger.egg-info/requires.txt +0 -0
  13. {custom_python_logger-2.0.7 → custom_python_logger-2.0.9}/custom_python_logger.egg-info/top_level.txt +0 -0
  14. {custom_python_logger-2.0.7 → custom_python_logger-2.0.9}/pyproject.toml +0 -0
  15. {custom_python_logger-2.0.7 → custom_python_logger-2.0.9}/requirements.txt +0 -0
  16. {custom_python_logger-2.0.7 → custom_python_logger-2.0.9}/setup.cfg +0 -0
  17. {custom_python_logger-2.0.7 → custom_python_logger-2.0.9}/tests/test_logger.py +0 -0
  18. {custom_python_logger-2.0.7 → custom_python_logger-2.0.9}/tests/test_logger_pytest.py +0 -0
  19. {custom_python_logger-2.0.7 → custom_python_logger-2.0.9}/tests/test_usage_example_pytest.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: custom-python-logger
3
- Version: 2.0.7
3
+ Version: 2.0.9
4
4
  Summary: A custom logger with color support and additional features.
5
5
  Home-page: https://github.com/aviz92/custom-python-logger
6
6
  Author: Avi Zaguri
@@ -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 not log_level:
159
+ if log_level is None:
160
160
  log_level = custom_logger.level
161
161
  new_logger.setLevel(log_level)
162
162
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: custom-python-logger
3
- Version: 2.0.7
3
+ Version: 2.0.9
4
4
  Summary: A custom logger with color support and additional features.
5
5
  Home-page: https://github.com/aviz92/custom-python-logger
6
6
  Author: Avi Zaguri
@@ -1,6 +1,6 @@
1
1
  from setuptools import find_packages, setup
2
2
 
3
- package_version = "2.0.7"
3
+ package_version = "2.0.9"
4
4
 
5
5
  package_name = "custom-python-logger"
6
6
  package_description = "A custom logger with color support and additional features."