I think having a default implementation of logging is a good idea. We have a number of logging systems for python that we have needed. PEP 282 would eliminate some of the logging code we have. Getting the logging system right is not easy. From the design discussions we have been through for a C++ logging system recently I would argue that the importance order is wrong. FRom PEP 282 DEBUG INFO WARN ERROR FATAL Suggested DEBUG WARN INFO ERROR FATAL The reasoning is that INFO messages affirms actions (Example: user logged on, call placed), whereas WARN messages can frequently be ignored. (Example: disk space is running low, old interface used) Of course if you implement them a categories instead of an ordered sequence the user can turn on and off the categories that are interesting. Barry
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