Nothing to see here, move along meow
0

Configure Feed

Select the types of activity you want to include in your feed.

at main 421 B View raw
1use core::fmt; 2 3use crate::Severity; 4 5pub struct LogRecord<'a> { 6 pub domain: &'a str, 7 pub severity: Severity, 8 pub message: fmt::Arguments<'a>, 9 pub show: bool, 10} 11 12impl<'a> LogRecord<'a> { 13 pub const fn new(domain: &'a str, severity: Severity, message: fmt::Arguments<'a>) -> Self { 14 Self { 15 domain, 16 severity, 17 message, 18 show: false, 19 } 20 } 21}