Skip to main content

Module logging

Module logging 

Source

Structsยง

KeyPrefix

Constantsยง

KEY_PREFIX_LEN ๐Ÿ”’

Staticsยง

LOG_INIT ๐Ÿ”’

Functionsยง

init_logging
init_test_logging
Install a tracing subscriber that routes through print! so cargo test captures per-test output. Logs only appear with --nocapture or for failing tests via --show-output. Honors RUST_LOG (defaulting to error when unset). Safe to call repeatedly.
use_color ๐Ÿ”’