Cargo Features

[dependencies]
edwardium_logger = { version = "1.2.2", default-features = false, features = ["std", "file_target", "stdout_target", "stderr_target", "colored_logline", "colored_stdout_output", "colored_stderr_output", "uart_target"] }
default = colored_stderr_output, colored_stdout_output, file_target, std

These default features are set whenever edwardium_logger is added without default-features = false somewhere in the dependency tree.

std default file_target stderr_target? stdout_target?

Enables std of log

file_target default = std

Affects targets::file

stdout_target colored_stdout_output = std

Affects targets::stdout

stderr_target colored_stderr_output = std

Affects targets::stderr

colored_logline colored_stderr_output colored_stdout_output = termion

Affects util::colored_logline

colored_stdout_output default = colored_logline, stdout_target
colored_stderr_output default = colored_logline, stderr_target
uart_target = embedded-serial

Affects targets::uart

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.

embedded-serial uart_target?
termion colored_logline?

Enables termion ^1