Struct slog_term::FullFormatBuilder[][src]

pub struct FullFormatBuilder<D> where
    D: Decorator
{ /* fields omitted */ }

Streamer builder

Implementations

impl<D> FullFormatBuilder<D> where
    D: Decorator
[src]

pub fn use_utc_timestamp(self) -> Self[src]

Use the UTC time zone for the timestamp

pub fn use_local_timestamp(self) -> Self[src]

Use the local time zone for the timestamp (default)

pub fn use_custom_timestamp<F>(self, f: F) -> Self where
    F: ThreadSafeTimestampFn
[src]

Provide a custom function to generate the timestamp

pub fn use_original_order(self) -> Self[src]

Use the original ordering of key-value pairs

By default, key-values are printed in a reversed order. This option will change it to the order in which key-values were added.

pub fn build(self) -> FullFormat<D>[src]

Build FullFormat

Auto Trait Implementations

impl<D> RefUnwindSafe for FullFormatBuilder<D> where
    D: RefUnwindSafe

impl<D> Send for FullFormatBuilder<D> where
    D: Send

impl<D> Sync for FullFormatBuilder<D> where
    D: Sync

impl<D> Unpin for FullFormatBuilder<D> where
    D: Unpin

impl<D> UnwindSafe for FullFormatBuilder<D> where
    D: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.