Cargo Features
sensible-env-logger has no features set by default.
[dependencies]
sensible-env-logger = { version = "0.3.2", features = ["local-time"] }
FEATURES
- local-time
-
This feature activates the
init_timed_short
andtry_init_timed_short
helper functions, which reports only the local time part (without the date) in the log messages.An example record would look like this: 3:15:51.624 INFO my_module > this is an info message
Optional dependencies
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.