session_manager_lib::cobalt

Function get_logger

Source
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.