Type Alias StringLog

Source
pub type StringLog = FmtLog<String>;
Expand description

A logger that writes to a string.

Aliased Type§

pub struct StringLog {
    pub buf: Mutex<String>,
    pub total: AtomicUsize,
}

Fields§

§buf: Mutex<String>

The writer to log to.

§total: AtomicUsize

The total number of bytes allocated.