pub trait Writer { // Required method fn write_log(&self, value: &Log<'_>) -> Result<(), Error>; }
A trait that defines how to write a log.
Writes a structured log to the underlying io::Write instance.
Implements Writer trait for JSONWriter.