logging

Functions to work with logging in a standardized way.

Module Contents

Functions

setup_logging(→ None)

Set up logging for experiments.

setup_logging(level: int = logging.INFO, file_name: str | None = None) None

Set up logging for experiments.

Parameters:
  • level – The log level to use.

  • file_name – If not None, also writes to this file.