Home / Python logging / Chapter 1

Chapter 1: Logger

Aug 22, 2024
1 of 11

This creates an instance of a python logger object using the module name as logger identifier

import logging

logger = logging.getLogger(__name__)