Skip to main content

ralph_workflow/logging/
mod.rs

1//! Per-run logging infrastructure.
2//!
3//! This module provides types and utilities for organizing all logs from a single
4//! pipeline run under a per-run directory (.agent/logs-<`run_id`>/).
5//!
6//! Key types:
7//! - `RunId`: Unique timestamp-based identifier for each pipeline run
8//! - `RunLogContext`: Manages log directory creation and path resolution
9//! - `EventLoopLogger`: Records event loop execution for diagnosability
10
11mod collision;
12mod event_loop_logger;
13mod run_id;
14mod run_log_context;
15mod timestamp;
16
17pub use collision::create_run_dir_with_collision_handling;
18pub use event_loop_logger::{EventLoopLogger, LogEffectParams};
19pub use run_id::RunId;
20pub use run_log_context::{ConfigSummary, RunLogContext, RunMetadata};
21pub use timestamp::get_current_timestamp;