Function structured_logger::async_json::new_writer
source · pub fn new_writer<W: AsyncWrite + Sync + Send + 'static>(
w: W
) -> Box<dyn Writer>
Expand description
Creates a new Box<dyn Writer>
instance with AsyncJSONWriter for a given std::io::Write instance.