Cargo Features
[dependencies]
flexi_logger = { version = "0.29.6", default-features = false, features = ["async", "colors", "compress", "dont_minimize_extra_stacks", "json", "kv", "specfile", "specfile_without_notification", "syslog_writer", "textfilter", "trc"] }
- default = colors, textfilter
-
These default features are set whenever
flexi_logger
is added without
somewhere in the dependency tree.default-features = false - async trc?
-
Enables crossbeam-channel and crossbeam-queue
Affects
write_mode::DEFAULT_POOL_CAPA
,write_mode::DEFAULT_MESSAGE_CAPA
… - colors default
-
Enables nu-ansi-term
Affects
formats::colored_default_format
,formats::colored_opt_format
,formats::colored_detailed_format
,formats::colored_with_thread
,formats::style
… - compress
-
Enables flate2
- dont_minimize_extra_stacks
- json
-
Enables serde, serde_derive, and serde_json
Affects
formats::json_format
… - kv
- specfile trc? = specfile_without_notification
-
Enables notify-debouncer-mini ^0.4.1
- specfile_without_notification specfile?
-
Enables serde, serde_derive, and toml
Affects
logger_handle::LogSpecSubscriber
,trc::subscribe_to_specfile
… - syslog_writer
- textfilter default
-
Enables regex
- trc = async, specfile
-
Enables tracing and tracing-subscriber
Affects
flexi_logger::trc
…