code: @Implementation
    protected static int writeEvent(int tag, String str) {
      if (str == null) {
        str = NULL_PLACE_HOLDER;
      }
      addEvent(new EventBuilder(tag, str).build());
      return Integer.BYTES + str.length();
    }
docs: Writes an event log message, returning an approximation of the bytes written.