canic_core/dto/
log.rs

1use crate::{dto::prelude::*, log::Level};
2
3///
4/// LogEntryView
5///
6
7#[derive(CandidType, Clone, Debug, Deserialize, Serialize)]
8pub struct LogEntryView {
9    pub crate_name: String,
10    pub created_at: u64,
11    pub level: Level,
12    pub topic: Option<String>,
13    pub message: String,
14}