return logger.getLevel().toInt();
Level levelLog4J = logger.getEffectiveLevel(); if (levelLog4J==null) return 0; int i =0; int level =0; while (i<LOG4J_LEVELS.length){ if (((String)LOG4J_LEVELS[i]).equals(levelLog4J.toString())){ level=i; break; } i++; } return level;
  public int getLevel() {    return logger.getLevel().toInt();  }