Struct slog_term::TermDecoratorBuilder [] [src]

pub struct TermDecoratorBuilder { /* fields omitted */ }

TermDecorator builder

Methods

impl TermDecoratorBuilder
[src]

[src]

Output to stderr

[src]

Output to stdout

[src]

Force colored output

[src]

Force colored output

[src]

Try to build TermDecorator

Unlike build this will not fall-back to raw stdout/stderr if it wasn't able to use terminal and its features directly (eg. if TERM env. was not set).

[src]

Build TermDecorator

Unlike try_build this it will fall-back to using plain stdout/stderr if it wasn't able to use terminal directly.