@Override
    public void onFailed(@Nullable LogEventRecordRequest request, int error, @Nullable String content) {
      myErrors.add(error);
    }
@Override
    public void onFailed(@Nullable LogEventRecordRequest request, int error, @Nullable String content)