custom-python-logger 2.0.12__tar.gz → 2.0.14__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 (18) hide show
  1. {custom_python_logger-2.0.12/custom_python_logger.egg-info → custom_python_logger-2.0.14}/PKG-INFO +10 -1
  2. {custom_python_logger-2.0.12 → custom_python_logger-2.0.14}/README.md +9 -0
  3. {custom_python_logger-2.0.12 → custom_python_logger-2.0.14}/custom_python_logger/logger.py +4 -1
  4. {custom_python_logger-2.0.12 → custom_python_logger-2.0.14/custom_python_logger.egg-info}/PKG-INFO +10 -1
  5. {custom_python_logger-2.0.12 → custom_python_logger-2.0.14}/pyproject.toml +1 -1
  6. {custom_python_logger-2.0.12 → custom_python_logger-2.0.14}/LICENSE +0 -0
  7. {custom_python_logger-2.0.12 → custom_python_logger-2.0.14}/MANIFEST.in +0 -0
  8. {custom_python_logger-2.0.12 → custom_python_logger-2.0.14}/custom_python_logger/__init__.py +0 -0
  9. {custom_python_logger-2.0.12 → custom_python_logger-2.0.14}/custom_python_logger/consts.py +0 -0
  10. {custom_python_logger-2.0.12 → custom_python_logger-2.0.14}/custom_python_logger.egg-info/SOURCES.txt +0 -0
  11. {custom_python_logger-2.0.12 → custom_python_logger-2.0.14}/custom_python_logger.egg-info/dependency_links.txt +0 -0
  12. {custom_python_logger-2.0.12 → custom_python_logger-2.0.14}/custom_python_logger.egg-info/requires.txt +0 -0
  13. {custom_python_logger-2.0.12 → custom_python_logger-2.0.14}/custom_python_logger.egg-info/top_level.txt +0 -0
  14. {custom_python_logger-2.0.12 → custom_python_logger-2.0.14}/requirements.txt +0 -0
  15. {custom_python_logger-2.0.12 → custom_python_logger-2.0.14}/setup.cfg +0 -0
  16. {custom_python_logger-2.0.12 → custom_python_logger-2.0.14}/tests/test_logger.py +0 -0
  17. {custom_python_logger-2.0.12 → custom_python_logger-2.0.14}/tests/test_logger_pytest.py +0 -0
  18. {custom_python_logger-2.0.12 → custom_python_logger-2.0.14}/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.12
3
+ Version: 2.0.14
4
4
  Summary: A custom logger with color support and additional features.
5
5
  Author: Avi Zaguri
6
6
  License: MIT
@@ -26,6 +26,15 @@ Requires-Dist: setuptools>=80.9.0
26
26
  Requires-Dist: wheel>=0.45.1
27
27
  Dynamic: license-file
28
28
 
29
+ ![PyPI version](https://img.shields.io/pypi/v/custom-python-logger)
30
+ ![Python](https://img.shields.io/badge/python->=3.12-blue)
31
+ ![Development Status](https://img.shields.io/badge/status-stable-green)
32
+ ![Maintenance](https://img.shields.io/maintenance/yes/2026)
33
+ ![PyPI](https://img.shields.io/pypi/dm/custom-python-logger)
34
+ ![License](https://img.shields.io/pypi/l/custom-python-logger)
35
+
36
+ ---
37
+
29
38
  # custom-python-logger
30
39
  A powerful and flexible Python logger with colored output, custom log levels, and advanced configuration options. <br>
31
40
  Easily integrate structured, readable, and context-rich logging into your Python projects for better debugging and monitoring.
@@ -1,3 +1,12 @@
1
+ ![PyPI version](https://img.shields.io/pypi/v/custom-python-logger)
2
+ ![Python](https://img.shields.io/badge/python->=3.12-blue)
3
+ ![Development Status](https://img.shields.io/badge/status-stable-green)
4
+ ![Maintenance](https://img.shields.io/maintenance/yes/2026)
5
+ ![PyPI](https://img.shields.io/pypi/dm/custom-python-logger)
6
+ ![License](https://img.shields.io/pypi/l/custom-python-logger)
7
+
8
+ ---
9
+
1
10
  # custom-python-logger
2
11
  A powerful and flexible Python logger with colored output, custom log levels, and advanced configuration options. <br>
3
12
  Easily integrate structured, readable, and context-rich logging into your Python projects for better debugging and monitoring.
@@ -92,7 +92,10 @@ def add_file_handler_if_specified(
92
92
  # Create directory if it doesn't exist
93
93
  log_dir = os.path.dirname(log_file_path)
94
94
  if log_dir and not os.path.exists(log_dir):
95
- os.makedirs(log_dir)
95
+ try:
96
+ os.makedirs(log_dir)
97
+ except FileExistsError:
98
+ pass # Directory was created by another process
96
99
 
97
100
  file_handler = logging.FileHandler(log_file_path)
98
101
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: custom-python-logger
3
- Version: 2.0.12
3
+ Version: 2.0.14
4
4
  Summary: A custom logger with color support and additional features.
5
5
  Author: Avi Zaguri
6
6
  License: MIT
@@ -26,6 +26,15 @@ Requires-Dist: setuptools>=80.9.0
26
26
  Requires-Dist: wheel>=0.45.1
27
27
  Dynamic: license-file
28
28
 
29
+ ![PyPI version](https://img.shields.io/pypi/v/custom-python-logger)
30
+ ![Python](https://img.shields.io/badge/python->=3.12-blue)
31
+ ![Development Status](https://img.shields.io/badge/status-stable-green)
32
+ ![Maintenance](https://img.shields.io/maintenance/yes/2026)
33
+ ![PyPI](https://img.shields.io/pypi/dm/custom-python-logger)
34
+ ![License](https://img.shields.io/pypi/l/custom-python-logger)
35
+
36
+ ---
37
+
29
38
  # custom-python-logger
30
39
  A powerful and flexible Python logger with colored output, custom log levels, and advanced configuration options. <br>
31
40
  Easily integrate structured, readable, and context-rich logging into your Python projects for better debugging and monitoring.
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "custom-python-logger"
7
- version = "2.0.12"
7
+ version = "2.0.14"
8
8
  description = "A custom logger with color support and additional features."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.12"