code: @Override
    public void log(LogRecord record)
    {
      if (record == null)
        return;
      
      Level recordLevel = record.getLevel();
  
      if (! isLoggable(recordLevel))
        return;
      
      for (Logger ptr = this; ptr != null; ptr = ptr.getParent()) {
        Handler handlers[] = ptr.getHandlers();
  
        if (handlers != null) {
          for (int i = 0; i < handlers.length; i++) {
            handlers[i].publish(record);
          }
        }
  
        if (! ptr.getUseParentHandlers())
          break;
      }
    }
docs: Logs the message.