code: @Override
      public boolean route(String msg, LogRecord logRecord) {
          if (!isValidMessage(msg)) {
              return true;
          }
  
          Set<String> logHandlerIdSet = getLogHandlersForMessage(msg);
  
          if (logHandlerIdSet == null) {
              // There are no routing requirements for this msgId.
              // Return true to tell the caller to log the msg normally.
              return true;
          } else {
              // Route to all LogHandlers in the list.
              return routeToAll(msg, logRecord, logHandlerIdSet);
          }
      }
docs: {@inheritDoc}