pub struct EffectLog { /* private fields */ }Expand description
Represents an encapsulated, timestamped log of causal evaluation events.
This struct provides a high-level API for logging and ensures that all log entries are automatically timestamped. It hides the internal storage details to provide a clean and robust interface. An append-only audit log for causal operations.
EffectLog maintains a chronological record of all significant events, computations,
and interventions that occur during a causal process. This is crucial for:
- Explainability: Tracing back why a certain result was reached.
- Auditability: Providing a tamper-evident record of decisions suitable for compliance.
- Debugging: Understanding the flow of complex graphs.
Implementations§
Trait Implementations§
Source§impl From<&str> for EffectLog
Provides a clean way to create a log with a single initial entry from a string slice.
e.g., let log: CausalEffectLog = "Initial message".into();
impl From<&str> for EffectLog
Provides a clean way to create a log with a single initial entry from a string slice.
e.g., let log: CausalEffectLog = "Initial message".into();
Source§impl From<String> for EffectLog
Provides a clean way to create a log with a single initial entry.
e.g., let log: CausalEffectLog = "Initial message".to_string().into();
impl From<String> for EffectLog
Provides a clean way to create a log with a single initial entry.
e.g., let log: CausalEffectLog = "Initial message".to_string().into();