code: private final void doPrint(String data) {
          // cache data now.
          LogRecord se = cacheTraceData(data);
          if (se != null) {
              dispatchEvent(se);
          }
  
      }
docs: A worker method for print() methods that have data in the form of a
  String