Function get_logger

Source
pub fn get_logger() -> &'static Arc<Mutex<Logger>>
Expand description

Get the global logger instance This function returns a reference to the global logger instance.

§Returns

A reference to the global logger instance

§Example

use rustfs_obs::get_logger;

let logger = get_logger();