pub struct LogTerminal<N, E, V, S> { /* private fields */ }Implementations§
Source§impl<V, S> LogTerminal<DefaultFields, Format, V, S>
impl<V, S> LogTerminal<DefaultFields, Format, V, S>
pub fn new(split_by: SplitBy<V, S>) -> LogTerminal<DefaultFields, Format, V, S>
Source§impl<N, E, V, S> LogTerminal<N, E, V, S>
impl<N, E, V, S> LogTerminal<N, E, V, S>
pub fn customize_fmt_layer<N1, E1>( self, closure: impl FnOnce(FmtLayer<Layered<RedirectLayer<V, S>, Registry>, N, E, ChannelWriter>) -> FmtLayer<Layered<RedirectLayer<V, S>, Registry>, N1, E1, ChannelWriter>, ) -> LogTerminal<N1, E1, V, S>
pub fn with_max_level(self, level: Level) -> LogTerminal<N, E, V, S>
pub fn with_max_lines(self, lines: usize) -> LogTerminal<N, E, V, S>
pub fn finish(self)
Auto Trait Implementations§
impl<N, E, V, S> Freeze for LogTerminal<N, E, V, S>
impl<N, E, V, S> RefUnwindSafe for LogTerminal<N, E, V, S>
impl<N, E, V, S> Send for LogTerminal<N, E, V, S>
impl<N, E, V, S> Sync for LogTerminal<N, E, V, S>
impl<N, E, V, S> Unpin for LogTerminal<N, E, V, S>
impl<N, E, V, S> UnwindSafe for LogTerminal<N, E, V, S>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more