Struct slog_term::FullFormatBuilder
[−]
[src]
pub struct FullFormatBuilder<D> where
D: Decorator, { /* fields omitted */ }
Streamer builder
Methods
impl<D> FullFormatBuilder<D> where
D: Decorator,
[src]
D: Decorator,
fn use_utc_timestamp(self) -> Self
[src]
Use the UTC time zone for the timestamp
fn use_local_timestamp(self) -> Self
[src]
Use the local time zone for the timestamp (default)
fn use_custom_timestamp<F>(self, f: F) -> Self where
F: ThreadSafeTimestampFn,
[src]
F: ThreadSafeTimestampFn,
Provide a custom function to generate the timestamp
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.
fn build(self) -> FullFormat<D>
[src]
Build FullFormat