Module logging

Source
Expand description

Modulesยง

test_internal
Internal functionality used by the #[traced_test] macro, repurposed for #[ctb_test].
test_subscriber

Structsยง

LogEventFormatter ๐Ÿ”’
Custom event formatter. Creates a fresh timestamp per event. Avoids panics if span extensions are missing.
MyVisitor ๐Ÿ”’

Functionsยง

build_default_filter_directives ๐Ÿ”’
Builds the filter directive string based on build configuration.
create_env_filter ๐Ÿ”’
Creates an EnvFilter from either RUST_LOG or the default directives. Returns the filter and the directive string used. FIXME: It looks like only the directives variable here is actually used.
extract_file_line ๐Ÿ”’
get_file_writer_layer ๐Ÿ”’
get_mock_writer_layer ๐Ÿ”’
get_stderr_layer ๐Ÿ”’
setup_logger