jdxi_editor.log.parameter

parameter.py

Functions

log_parameter(message, parameter[, float_precision, ...])

Log a structured representation of a parameter with type, formatted value, and optional emoji context.

Module Contents

jdxi_editor.log.parameter.log_parameter(message: str, parameter: Any, float_precision: int = 2, max_length: int = 300, level: int = logging.INFO, silent: bool = False)[source]

Log a structured representation of a parameter with type, formatted value, and optional emoji context.

Parameters:
  • silent – bool suppress the log or not

  • message – str The message to log.

  • parameter – Any The parameter to log.

  • float_precision – int The float precision.

  • max_length – int The max length.

  • level – int The log level.