From 15a85523fde9404cb8d5d3d069b06497c123186f Mon Sep 17 00:00:00 2001 From: Mohammad Mahdi Samei <9259samei@gmail.com> Date: Wed, 11 Dec 2024 16:17:24 +0330 Subject: [PATCH] Update README.md --- README.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 3b81d77..ec485ee 100644 --- a/README.md +++ b/README.md @@ -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__) ``` @@ -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/) \ No newline at end of file +- [10 Best Practices for Logging in Python](https://betterstack.com/community/guides/logging/python/python-logging-best-practices/)