code: public void warn(String s) {
          if (isEnabled() && isWarnEnabled()) {
              dispatchLogMessage(new LogEvent(this, LogEvent.WARN_TYPE, s));
          }
      }
docs: Simple method for logging a single warning message.