usecandid::CandidType;useserde::Deserialize;/// Logger settings.
#[derive(Debug, Clone, PartialEq, Eq, CandidType, Deserialize)]pubstructLogSettings{/// Enable logging to console (`ic::print` when running in IC)
pubenable_console:bool,
/// Number of records to be stored in the logger in memory queue.
/// Default value is 1024.
pubin_memory_records:usize,
/// Maximum length (in bytes) of a single log entry in the logger in memory queue.
/// Default value is 1024.
pubmax_record_length:usize,
/// Log configuration as combination of filters.
/// Example of valid configurations:
/// - info
/// - debug,crate1::mod1=error,crate1::mod2,crate2=debug
publog_filter: String,
}