Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Msameim181 authored Dec 11, 2024
1 parent e34cd46 commit 15a8552
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,12 @@ Configure your logging settings:

```python
logging_config = LoggingConfig(
settings=LoggingSettings(),
application_level='Development',
enable_tracing=True,
ignore_nan_trace=True
settings=LoggingSettings(
application_level="Development",
enable_tracing=True,
ignore_nan_trace=False,
enable_file_logging=True,
)
)
logger = logging_config.get_logger(__name__)
```
Expand Down Expand Up @@ -228,4 +230,4 @@ This project is licensed under the GNU AFFERO GENERAL PUBLIC LICENSE - see the [

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

0 comments on commit 15a8552

Please sign in to comment.