with_buffer

Function with_buffer 

Source
pub fn with_buffer<S>(tag: impl ToString, buffer: Buffer) -> Layer<S>
where for<'a> S: Subscriber + LookupSpan<'a>,
Expand description

Returns a new formatting layer with the given tag and using the given Android log buffer, which can be composed with other layers to construct a Subscriber.