Pipeline.Debug (pipeline v0.0.1)

View Source

Debug logging utilities for the pipeline.

Summary

Functions

Find the latest debug log in the output directory.

Find all output files (excluding debug logs) in the output directory.

Find all files created in the workspace directory.

Format file size in human readable format.

Format timestamp in human readable format.

Log a message to the debug file.

Functions

find_latest_debug_log(output_dir)

Find the latest debug log in the output directory.

find_output_files(output_dir)

Find all output files (excluding debug logs) in the output directory.

find_workspace_files(workspace_dir \\ "workspace")

Find all files created in the workspace directory.

format_size(bytes)

Format file size in human readable format.

format_timestamp(arg)

Format timestamp in human readable format.

log(debug_log_path, message)

Log a message to the debug file.