code: public void log(LogRecord record) {
          if (record.getLevel().intValue() < levelValue || levelValue == offValue) {
              return;
          }
          Filter theFilter = filter;
          if (theFilter != null && !theFilter.isLoggable(record)) {
              return;
          }
  
          // Post the LogRecord to all our Handlers, and then to
          // our parents' handlers, all the way up the tree.
  
          Logger logger = this;
          while (logger != null) {
              for (Handler handler : logger.getHandlers()) {
                  handler.publish(record);
              }
  
              if (!logger.getUseParentHandlers()) {
                  break;
              }
  
              logger = logger.getParent();
          }
      }
docs: Log a LogRecord.
  <p>
  All the other logging methods in this class call through
  this method to actually perform any logging.  Subclasses can
  override this single method to capture all log activity.
  
  @param record the LogRecord to be published