Hi, > That's right, though it's OK to provide a documented convenience API > for adding > handlers. I think I’ll aim for simplicity. We’ll document that we use the logger “packaging” throughout and let people use getLogger and addHandler with that. > You don't necessarily need to set the level on the handler - why can > you not > just set it on the logger? The effect would often be the same: the > logger's > level is checked first, and then the handler's level. I thought that if we set the level on the logger, we would prevent third-party code to get some messages. E.g., we set level to INFO but pip uses some packaging functions and would like to get DEBUG messages. Regards
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4