pub fn get_logger() -> Result<MetricEventLoggerProxy, Error>
Expand description

Creates a LoggerProxy connected to Cobalt.

The connection is performed in a Future run on the global executor, but the LoggerProxy can be used immediately.

§Returns

LoggerProxy for log messages to be sent to.