Struct slog_html::FormatBuilder [] [src]

pub struct FormatBuilder { /* fields omitted */ }

Streamer builder

Methods

impl FormatBuilder
[src]

Output using full mode (default)

Output using compact mode

Use custom color palette

Use custom style for the log level

Use custom style for the timestamp

Use custom style for the message

Use custom style for keys

Use custom style for values

Use custom style for separators

Use the UTC time zone for the timestamp

Use the local time zone for the timestamp (default)

Provide a custom function to generate the timestamp

Build Html formatter

Trait Implementations

impl Default for FormatBuilder
[src]

Returns the "default value" for a type. Read more