code: @Override
      public void publish(final LogRecord record) {
  
          if (this.isLoggable(record)) {
  
              final Level level = record.getLevel();
              final String message = prefix + getFormatter().format(record);
  
              if (Level.SEVERE.equals(level)) {
                  log.error(message);
              } else if (Level.WARNING.equals(level)) {
                  log.warn(message);
              } else if (Level.INFO.equals(level)) {
                  log.info(message);
              } else {
                  log.debug(message);
              }
          }
      }
docs: {@inheritDoc}