Skip to content

Commit c305ff2

Browse files
committed
V4.0.3
1 parent 0a0b9b3 commit c305ff2

File tree

2 files changed

+9
-18
lines changed

2 files changed

+9
-18
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ logger.warning("This is a warning example")
232232

233233

234234

235-
# Context Manager Support
235+
# Context Manager Support (slow but if you want immediate, deterministic cleanup for a specific scope)
236236

237237
All logger types support context managers for automatic resource cleanup and exception safety:
238238

@@ -385,7 +385,7 @@ audit_logger.info("User admin logged in")
385385
```
386386

387387
## Env Variables (Optional | Production)
388-
.env variables can be used by leaving all options blank when calling the function
388+
The .env variables file can be used by leaving all options blank when calling the function
389389
If not specified inside the .env file, it will use the dafault value
390390
This is a good approach for production environments, since options can be changed easily
391391
```python

pyproject.toml

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@
22
requires = ["poetry-core>=2.0.0,<3.0.0"]
33
build-backend = "poetry.core.masonry.api"
44

5-
65
[tool.poetry]
76
name = "pythonLogs"
8-
version = "4.0.2"
7+
version = "4.0.3"
98
description = "High-performance Python logging library with file rotation and optimized caching for better performance"
109
license = "MIT"
1110
readme = "README.md"
@@ -31,51 +30,43 @@ classifiers = [
3130
"Natural Language :: English",
3231
]
3332

34-
3533
[tool.poetry.dependencies]
3634
python = "^3.10"
3735
pydantic = "^2.11.7"
3836
pydantic-settings = "^2.10.1"
3937
python-dotenv = "^1.1.1"
4038

41-
4239
[tool.poetry.group.test.dependencies]
4340
coverage = "^7.9.2"
4441
poethepoet = "^0.36.0"
4542
psutil = "^7.0.0"
4643
pytest = "^8.4.1"
4744

45+
[tool.poe.tasks]
46+
_test = "coverage run -m pytest -v"
47+
_coverage_report = "coverage report"
48+
_coverage_xml = "coverage xml"
49+
tests = ["_test", "_coverage_report", "_coverage_xml"]
50+
test = ["tests"]
4851

4952
[tool.poetry.group.test]
5053
optional = true
5154

52-
5355
[tool.black]
5456
line-length = 120
5557
skip-string-normalization = true
5658

57-
5859
[tool.pytest.ini_options]
5960
markers = [
6061
"slow: marks tests as slow (deselect with '-m \"not slow\"')"
6162
]
6263

63-
6464
[tool.coverage.run]
6565
omit = [
6666
"tests/*",
6767
]
6868

69-
7069
[tool.coverage.report]
7170
exclude_lines = [
7271
"pragma: no cover",
7372
]
74-
75-
76-
[tool.poe.tasks]
77-
_test = "coverage run -m pytest -v"
78-
_coverage_report = "coverage report"
79-
_coverage_xml = "coverage xml"
80-
tests = ["_test", "_coverage_report", "_coverage_xml"]
81-
test = ["tests"]

0 commit comments

Comments
 (0)