docs: public void publish(RoutedMessage routedMessage, Object id) {
          //Publish the trace if it is not coming from a handler thread
          if (!ThreadLocalHandler.get()) {
              if (routedMessage.getLogRecord() != null && bufferMgr != null) {
                  bufferMgr.add(parse(routedMessage, id));
              }
          }
      }