craftutils.observation.log.Log.add_log(action: str, method=None, method_args: dict | None = None, input_path: str | None = None, output_path: str | None = None, packages: list[str] | None = None, ancestor_logs: dict[str, dict | Log] | list[dict | Log] | None = None)
Parameters
action: str

String describing the action to be logged.

method=None

Python method or function used to achieve this action. If provided

output_path: str | None = None

Path to which new products were written.

packages: list[str] | None = None

A list of any system packages involved; if they can be reached in the terminal using this name, the version number will be recorded.

Returns