blitz_script/
diagnostics.rs1#[derive(Debug, Clone)]
2#[cfg_attr(not(feature = "debug-control"), allow(dead_code))]
3pub struct DiagnosticEntry {
4 pub sequence: u64,
5 pub order: u64,
6 pub level: String,
7 pub message: String,
8 pub stack: String,
9}
10
11#[derive(Debug, Clone)]
12pub struct DiagnosticStreamBatch {
13 pub entries: Vec<DiagnosticEntry>,
14 pub lost: u64,
15 pub next_sequence: u64,
16}
17
18#[derive(Debug, Clone)]
19pub struct DiagnosticBatch {
20 pub console: DiagnosticStreamBatch,
21 pub errors: DiagnosticStreamBatch,
22}