Struct pretty_logger::Logger [] [src]

pub struct Logger { /* fields omitted */ }

The logger.

The defaults are:

  • Log to stdepretty_env_logger/0.1.1/prettyrr
  • Log at the info level and higher.
  • Use the default theme (see the Theme type for details).
  • Use color iff stderr is a TTY

Methods

impl Logger
[src]

[src]

Creates a new instance of Logger.

[src]

Sets this logger as the global logger.

Trait Implementations

impl Default for Logger
[src]

[src]

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

impl Log for Logger
[src]

[src]

Determines if a log message with the specified metadata would be logged. Read more

[src]

Logs the LogRecord. Read more