Cargo Features
[dependencies]
stackdriver_logger = { version = "0.8.2", default-features = false, features = ["prod", "cargo", "termcolor", "atty", "humantime", "regex", "customfields", "pretty_env_logger"] }
- default = atty, cargo, humantime, pretty_env_logger, regex, termcolor
-
These default features are set whenever
stackdriver_logger
is added without
somewhere in the dependency tree.default-features = false - prod = cargo
- cargo default prod? = toml
-
Used by the init macro
Affects
stackdriver_logger::macros
… - termcolor default
-
Toggle env logger features
Enables termcolor of env_logger ^0.9.3
- atty default
-
Enables atty of env_logger ^0.9.3
- humantime default
-
Enables humantime of env_logger ^0.9.3
- regex default
-
Enables regex of env_logger ^0.9.3
- customfields
-
Toggle log features
Enables kv_unstable of log
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.
- pretty_env_logger default
-
Enables pretty_env_logger ^0.4.0
- toml cargo
-
Enables toml ^0.5.9