pub fn scoped<EP: EndpointSuper + Hash>(endpoint: EP, f: impl FnOnce())
Starts a log scope within the closure provided.