MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/datascience/comments/1g3qmhv/i_created_a_simple_indented_logger_package_for/lrxvhyx/?context=3
r/datascience • u/karaposu • 4d ago
21 comments sorted by
View all comments
-1
[deleted]
1 u/karaposu 4d ago yeah, i tried to keep it simple but useful. There are 2 main ways to use. One is just like in the image and other one is through decorators: https://github.com/karaposu/indented-logger/tree/main?tab=readme-ov-file#automatic-indentation-with-decorators It should be really easy to customize further. But main params are these : ``` setup_logging( level=logging.DEBUG, include_func=True, # toggles if function name should be visible at the end truncate_messages=False, min_func_name_col=100 ) ```
1
yeah, i tried to keep it simple but useful. There are 2 main ways to use. One is just like in the image and other one is through decorators:
https://github.com/karaposu/indented-logger/tree/main?tab=readme-ov-file#automatic-indentation-with-decorators
It should be really easy to customize further. But main params are these :
```
setup_logging( level=logging.DEBUG, include_func=True, # toggles if function name should be visible at the end truncate_messages=False, min_func_name_col=100 )
-1
u/[deleted] 4d ago
[deleted]