Cargo Features
MHlog has no features set by default.
[dependencies]
mhlog = { version = "3.0.1", features = ["only_stdout", "only_stderr", "colours"] }
- only_stdout
-
Only write to stdout
- only_stderr
-
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. These features may have been created by mistake, and this functionality may be removed in the future.
- console colours?
-
Enables console ^0.11.2