[−][src]Trait async_logger::Writer
Writer performs data processing of a fully filled buffer.
Required methods
fn process_slice(&mut self, slice: &[u8])
Logger calls this function when there is data to be processed. This function is guaranteed to be called sequentially; no internal syncronization is required by default.
fn flush(&mut self)
Flush the remining data, and finalize writer. This function is called only on writer thread termination.