Skip to main content

LOG_TARGET_ROOT

Constant LOG_TARGET_ROOT 

Source
pub const LOG_TARGET_ROOT: &str = "server";
Expand description

The root this crate’s tracing events are filtered by.

It is the lib name, which is not the package name — server, not mushroomdb-server. A log filter naming the package matches nothing, and a filter that matches nothing looks exactly like a server with nothing to report. Exported so the binary’s default filter can be checked against it rather than against a guess.