Cargo Features

MHlog has no features set by default.

mhlog = { version = "3.0.1", features = ["only_stdout", "only_stderr", "colours"] }

Only write to stdout


Only write to stderr

colours = console

Enable colouring of log messages when writing to a terminal.

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

console colours?

Enables console ^0.11.2