pyfcstm.utils.logging

Logging utilities for pyfcstm.

This module provides centralized logging configuration for the pyfcstm package.

get_logger

pyfcstm.utils.logging.get_logger(name: str = 'pyfcstm') Logger[source]

Get a logger instance for pyfcstm.

This helper only retrieves the logger. Handler configuration, formatter selection, and effective log levels are intentionally left to the caller.

Parameters:

name (str, optional) – Logger name, defaults to 'pyfcstm'

Returns:

Logger instance.

Return type:

logging.Logger

Example:

>>> from pyfcstm.utils.logging import get_logger
>>> logger = get_logger('pyfcstm.mymodule')
>>> logger.name
'pyfcstm.mymodule'