Logging with Python

Start Course
level
Introductory
Subject
Software Development
Course Length
1 hour
Subscription
Foundation

Course Description

Debugging is a critical skill for finding and solving bugs in code. This course will help you learn to implement logging with Python into an application. Despite decades of progress in computer software, developers still rely on the lowly print statement to debug their programs. For production software, a minor improvement is to use the logging library instead of print. With logging, you can redirect the messages to various outputs using different formats. You can also set the log level to control which types of messages to print out. Nevertheless, you still have to stare at a giant file full of messages to debug your program.

Requirements

  • Getting Started with Python

Instructors

Pinku Surana

Instructor.