Syllabus

  1. 01Logging basicsWhy programs log instead of print, how levels and thresholds decide what you see, and how handlers and formatters send each record where it belongs in the shape you want.2 lessons
    1. 01Loggers and levels
    2. 02Handlers and formatters
  2. 02Logging in larger programsHow logger names form a tree and records travel up it, how to log exceptions and extra context, how filters trim output, and how to configure everything with basicConfig and dictConfig.5 lessons
    1. 01Logger names and propagation
    2. 02Errors, records and filters
    3. 03Configuring logging for an application
    4. 04Quiz: levels, handlers and the hierarchy
    5. 05Quiz: errors, records and configuration
  3. 03ProjectPut it all together in one small import tool that logs to the screen and to a file.1 lesson
    1. 01Project: a lap-time import log