Skip to content

Glossary: Python Beyond the Basics

logging

Also written: logging module, log level, logging.exception

A standard-library module for recording what a program does, with levels (debug, info, warning, error) you can filter and send to a file. `logging.exception` records a message plus the full traceback.

Where the book teaches it

Related terms

basicConfig