Function get_global_logger

Source
pub fn get_global_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_global_logger;

let logger = get_global_logger();