🛈 Note: This is pre-release documentation for the upcoming tracing 0.2.0 ecosystem.

For the release documentation, please see docs.rs, instead.

tracing_core::callsite

Function register

Source
pub fn register(registration: &'static Registration)
Expand description

Register a new Callsite with the global registry.

This should be called once per callsite after the callsite has been constructed.

See the documentation on callsite registration for details on the global callsite registry.