Custom logging code(s) / numbers to the log level Error

kibtes2 at gmail.com kibtes2 at gmail.com
Fri Feb 22 04:44:39 EST 2019


I wanted to write/extend the logging library to have a custom Error number for each exception (error) the code has. What's the best approach for this? If possible can someone please provide a good starting code snippet. Thanks  


More information about the Python-list mailing list