code: public void log(String message) {
          switch (level) {
          case TRACE:
              LOGGER.trace(message);
              break;
          case DEBUG:
              LOGGER.debug(message);
              break;
          case INFO:
              LOGGER.info(message);
              break;
          case WARN:
              LOGGER.warn(message);
              break;
          case ERROR:
              LOGGER.error(message);
              break;
          default:
              throw new XOException("Unsupported log log level " + level);
          }
      }
docs: Log a message using the configured log level.
  
  @param message
  The message.