pub struct DebugCollectLogsInclude {
pub current_process_log_path: Option<String>,
pub events: Option<bool>,
pub events_path: Option<String>,
pub previous_process_log_limit: Option<i64>,
pub process_log_directory: Option<String>,
pub process_logs: Option<bool>,
pub shell_logs: Option<bool>,
}Expand description
Built-in session diagnostics to include in the bundle. Omitted fields default to true.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§current_process_log_path: Option<String>Server-local path to the current process log. When set, it is included as process.log and its directory is searched for prior logs from the same session.
events: Option<bool>Include the session event log (events.jsonl). Defaults to true.
events_path: Option<String>Server-local path to the session’s events.jsonl file. Internal callers normally omit this and let the runtime derive it from the session.
previous_process_log_limit: Option<i64>Maximum number of previous process logs to include. Defaults to 5.
process_log_directory: Option<String>Server-local process log directory to search when currentProcessLogPath is unavailable, useful for collecting logs for inactive sessions.
process_logs: Option<bool>Include process logs for the session. Defaults to true.
shell_logs: Option<bool>Include interactive shell logs written under the session’s shell-logs directory. Defaults to true.
Trait Implementations§
Source§impl Clone for DebugCollectLogsInclude
impl Clone for DebugCollectLogsInclude
Source§fn clone(&self) -> DebugCollectLogsInclude
fn clone(&self) -> DebugCollectLogsInclude
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more