code: @Deprecated
      public int getLevel() {
          Level level = loggerProxy.getLevel();
          return level != null ? level.intValue() : 0;
      }
docs: Gets the current log level. Returns 0 if the current effective level is
  not set (equivalent to Logger.getLevel() returns null).
  
  @deprecated Use level() instead