sec_interp.logger_config module

Logger Configuration Module.

Provides centralized logging configuration for the Sec Interp plugin.

class sec_interp.logger_config.QgsLogHandler(tag='SecInterp')

Bases: Handler

Custom logging handler that writes to QGIS message log.

Initializes the instance - basically setting the formatter to None and the filter list to empty.

emit(record)

Emit a log record to QGIS message log.

sec_interp.logger_config.get_logger(name)

Get a configured logger for the plugin.

Parameters:

name – Name of the logger (typically __name__ from calling module)

Returns:

Configured logger instance

Return type:

logging.Logger