Integer integer = logLevel.get();
return null != integer && integer <= level;
}
public void log(int level, String message) {
BaseLogger baseLogger1 = baseLogger.get();
PluginLogger pluginLogger1 = pluginLogger.get();
if (null != baseLogger1) {
switch (level) {
case Logger.FATAL:
case Logger.ERROR:
baseLogger1.error(message);
break;
case Logger.WARN:
baseLogger1.warn(message);
break;
case Logger.DEBUG:
baseLogger1.debug(message);
break;
case Logger.INFO:
default:
baseLogger1.log(message);
break;
}
}
if (null != pluginLogger1) {
switch (level) {