Skip to main content

Module logging

Module logging 

Source
Expand description

Per-run logging infrastructure.

This module provides types and utilities for organizing all logs from a single pipeline run under a per-run directory (.agent/logs-<run_id>/).

Key types:

  • RunId: Unique timestamp-based identifier for each pipeline run
  • RunLogContext: Manages log directory creation and path resolution
  • EventLoopLogger: Records event loop execution for diagnosability

Structs§

ConfigSummary
Non-secret configuration summary for run.json.
EventLoopLogger
LogEffectParams
RunId
Unique identifier for a pipeline run.
RunLogContext
Context for managing per-run log directories and files.
RunMetadata
Metadata recorded in run.json for each pipeline run.

Functions§

create_run_dir_with_collision_handling
get_current_timestamp