Avoids many dozens of conditionals sprinkled throughout the code by centralizing this check into the main Logger instance.