code: public static boolean isDebugEnabled() {
          String value = System.getProperty(DEBUG_PROPERTY);
          if (value != null && "true".equalsIgnoreCase(value)) {
              return true;
          }
          return false;
      }
docs: Since logger is not activated while processing premain, the trace data needs to be logged by using System.out.