Browse Source

docs: add module-level docstring to logger module

The logger module lacked documentation explaining its purpose as the
default logging provider for FastAPI applications.
pull/15652/head
SUPREME 1 month ago
parent
commit
5537a964e6
  1. 7
      fastapi/logger.py

7
fastapi/logger.py

@ -1,3 +1,10 @@
"""
Default logger for FastAPI.
Provides a pre-configured logger instance named "fastapi" for internal
logging throughout the framework.
"""
import logging
logger = logging.getLogger("fastapi")

Loading…
Cancel
Save