Skip to content

Commit 15a8552

Browse files
authored
Update README.md
1 parent e34cd46 commit 15a8552

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

README.md

+7-5
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,12 @@ Configure your logging settings:
4646

4747
```python
4848
logging_config = LoggingConfig(
49-
settings=LoggingSettings(),
50-
application_level='Development',
51-
enable_tracing=True,
52-
ignore_nan_trace=True
49+
settings=LoggingSettings(
50+
application_level="Development",
51+
enable_tracing=True,
52+
ignore_nan_trace=False,
53+
enable_file_logging=True,
54+
)
5355
)
5456
logger = logging_config.get_logger(__name__)
5557
```
@@ -228,4 +230,4 @@ This project is licensed under the GNU AFFERO GENERAL PUBLIC LICENSE - see the [
228230

229231
- [Python Logging Best Practices Tips](https://coralogix.com/blog/python-logging-best-practices-tips/)
230232
- [12 Python Logging Best Practices To Debug Apps Faster](https://middleware.io/blog/python-logging-best-practices/)
231-
- [10 Best Practices for Logging in Python](https://betterstack.com/community/guides/logging/python/python-logging-best-practices/)
233+
- [10 Best Practices for Logging in Python](https://betterstack.com/community/guides/logging/python/python-logging-best-practices/)

0 commit comments

Comments
 (0)