public static boolean isEnabled(final LogLevel level) {
        return SETTING_DO_LOGGING[level.ordinal()];
    }
If the debug flag is set then minimum log level is debug AND an exception is thrown on error logging
The debug flag is cached here so that we don't need to access the settings every time we have to evaluate it.
main/src/main/java/cgeo/geocaching/utils/Log.java