Function opentelemetry_api::global::logger
source · pub fn logger(name: Cow<'static, str>) -> BoxedLoggerExpand description
Creates a named instance of Logger via the configured
GlobalLoggerProvider.
If name is an empty string, the provider will use a default name.