How to Properly Log in Python

Learn how to properly log your programs (and using the standard print debugging method is not it).

Logging Attributes: https://docs.python.org/3/library/logging.html#logrecord-attributes

Time stamps:

  • 00:00 | Why Use Logging?
  • 01:03 | ProgrammingExpert
  • 01:32 | Logging Levels
  • 04:09 | Logging To A File
  • 07:32 | Logging Variable Values
  • 08:45 | Logging Exceptions
  • 10:16 | Custom Loggers
  • 12:21 | Handles and Formatters
  • 14:19 | Conclusion

Frank

#DataScientist, #DataEngineer, Blogger, Vlogger, Podcaster at http://DataDriven.tv . Back @Microsoft to help customers leverage #AI Opinions mine. #武當派 fan. I blog to help you become a better data scientist/ML engineer Opinions are mine. All mine.