gds_fdtd.logging_config

Logging configuration for gds_fdtd package.

Provides centralized logging setup with file output to working directory. @author: Mustafa Hammood, 2025

Functions

get_logger(name)

Get a logger for a specific module.

log_dict(logger, data[, title])

Log dictionary data in a formatted way.

log_separator(logger[, title])

Log a separator line for better log readability.

log_simulation_complete(logger, solver_type)

Log simulation completion.

log_simulation_start(logger, solver_type, ...)

Log simulation start with details.

setup_logging([working_dir, component_name])

Set up file + console logging for the gds_fdtd package logger ONLY.

Classes

JsonFormatter([fmt, datefmt, style, ...])

One JSON object per line — for Modal/AWS/Batch log aggregation.