Function slog_global::get_global [−][src]
pub fn get_global() -> Arc<Logger>
Gets the global Logger
.
If you only want to access the global logger temporarily (i.e. as a local variable on stack but
not structures), use borrow_global()
which is more efficient.