pub fn enabled() -> bool
Returns true if the logger is currently enabled and is capturing log messages.