Documentation

logging

# Logging configuration for cfabric.

This module provides logging level constants and configuration utilities for the cfabric library. Uses standard Python logging with output to stderr.

Functions

function
configure_logging(silent: str = {'cls': 'ExprName', 'member': None, 'name': 'SILENT_D'}) None

Configure the cfabric logger.

Configure the cfabric logger. Sets up the root cfabric logger with a stderr handler. Parameters ---------- silent : str Verbosity level: "verbose", "auto", "terse", or "deep"
Parameters
  • silent: str
function
set_logging_level(silent: str = {'cls': 'ExprName', 'member': None, 'name': 'SILENT_D'}) None

Set the logging level for cfabric.

Set the logging level for cfabric. Parameters ---------- silent : str Verbosity level: "verbose", "auto", "terse", or "deep"
Parameters
  • silent: str
function
silentConvert(arg: str | bool | None) str

Convert silent parameter to canonical string form.

Convert silent parameter to canonical string form. Accepts str, bool, or None and always returns a valid silent level string.
Parameters
  • arg: str | bool | None