epyr.logging_config

Logging configuration for EPyR Tools.

This module provides centralized logging configuration for the entire package.

Functions

get_logger(name)

Get a logger for a specific module.

setup_logging([level, log_file, format_string])

Set up logging configuration for EPyR Tools.

epyr.logging_config.setup_logging(level='INFO', log_file=None, format_string=None)[source]

Set up logging configuration for EPyR Tools.

Parameters:
  • level (str) – Logging level (DEBUG, INFO, WARNING, ERROR, CRITICAL)

  • log_file (Path | None) – Optional file path for logging output

  • format_string (str | None) – Optional custom format string

Returns:

Configured logger instance

Return type:

Logger

epyr.logging_config.get_logger(name)[source]

Get a logger for a specific module.

Parameters:

name (str) – Module name (typically __name__)

Returns:

Logger instance

Return type:

Logger