code: private synchronized LogRecord getTraceData(String data) {
          buffer.append(data);
          LogRecord se = new LogRecord(Level.parse("625"), buffer.toString());
          /*
           * set source name and method to be empty string
           */
          se.setSourceClassName("");
          se.setSourceMethodName("");
  
          se.setLoggerName(logger.getName());
  
          /*
           * reset everythign else
           */
          buffer = new StringBuilder();
  
          ivCacheSize = 0;
          return se;
      }
docs: Add the specified data to the trace cache, then orphan the event and
  cache, returning the event so it can be forwareded to trace.
  <p>
  This method is called when a println (terminating) event is encountered.
  An event will be created if one does not exist, else the data is added to
  the cache for an existing event. The entire event is then orphaned and
  returned to the caller so it can be written to the trace output device.
  <p>
  The first operation that initiates a "sequence" will create the initial
  event that captures the timestamp, etc. As more nonterminating events are
  encountered, the data is simply added to a cache. A terminating event
  will orphan the event and cache, and return the event so it can be
  forwarded.
  <p>
  
  @param data
  a String to cache.