Struct LogConfig
pub struct LogConfig {
pub log_persistence: String,
pub log_persistence_path: String,
pub log_persistence_max_entries: usize,
pub log_persistence_max_bytes: u64,
pub log_persistence_rotate_daily: bool,
pub log_persistence_retention_max_files: usize,
pub log_persistence_retention_max_age_days: u64,
pub log_tool_io: String,
pub log_tool_io_truncate_bytes: usize,
pub log_tool_io_denylist: Vec<String>,
pub log_llm_request_payload: String,
}Expand description
Minimal observability config shape used by the writer + tool-io
capturer. Mirrors the relevant [observability] fields of
zeroclaw_config::schema::ObservabilityConfig.
Fields§
§log_persistence: String§log_persistence_path: String§log_persistence_max_entries: usize§log_persistence_max_bytes: u64Size threshold (bytes) that triggers an archive rotation in rotating
mode. 0 disables size-based rotation.
log_persistence_rotate_daily: boolRotate on a UTC day boundary in rotating mode.
log_persistence_retention_max_files: usizeMax rotated archive files to keep in rotating mode. 0 keeps all.
log_persistence_retention_max_age_days: u64Max age (days) of rotated archives in rotating mode. 0 disables.
log_tool_io: String§log_tool_io_truncate_bytes: usize§log_tool_io_denylist: Vec<String>§log_llm_request_payload: StringTrait Implementations§
Auto Trait Implementations§
impl Freeze for LogConfig
impl RefUnwindSafe for LogConfig
impl Send for LogConfig
impl Sync for LogConfig
impl Unpin for LogConfig
impl UnsafeUnpin for LogConfig
impl UnwindSafe for LogConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more