Cargo Features

ohos-hilog-binding has no features set by default.

[dependencies]
ohos-hilog-binding = { version = "0.1.2", features = ["redirect", "log", "regex"] }
redirect

Allow redirect stdout/stderr to hilog.

Enables libc

Affects ohos-hilog-binding::forward_stdio_to_hilog

log

Allow log

Enables env_filter ^0.1 and log

Affects ohos-hilog-binding::log

regex

Enables regex of env_filter ^0.1