sklab.logging¶
sklab.logging.NoOpLogger
dataclass
¶
Logger that drops all logging calls.
Useful as the default logger when no external tracking backend is configured.
Source code in src/sklab/_logging/noop.py
sklab.logging.MLflowLogger
dataclass
¶
Logger that tracks experiments with MLflow.
MLflow uses module-level functions that operate on the active run, so we don't need to store run state.
Source code in src/sklab/_logging/mlflow.py
sklab.logging.WandbLogger
dataclass
¶
Logger that tracks experiments with Weights & Biases.
W&B requires calling methods on the run object, so we store
a reference to the active run in self._run.