Source code for qcodes.extensions._log_export_info
from __future__ import annotations
import logging
from pathlib import Path
from typing import Any
LOG = logging.getLogger(__name__)
[docs]
def log_dataset_export_info(path: Path | None, **kwargs: Any) -> None:
automatic = kwargs.get("automatic_export", False)
auto_str = "automatically" if automatic else "manually"
LOG.info("Dataset has been exported to: %s this was triggered %s.", path, auto_str)