Skip to content

Glossary: Python Beyond the Basics

basicConfig

Also written: logging.basicConfig

The function that sets up logging: the lowest level to show, the line format, and optionally a file to write to. It only takes effect the first time it's called in a program.

Where the book teaches it

Related terms

logging