code: protected EventBuilder createEventBuilder(ILoggingEvent iLoggingEvent) {
          EventBuilder eventBuilder = new EventBuilder()
              .withSdkIntegration("logback")
              .withTimestamp(new Date(iLoggingEvent.getTimeStamp()))
              .withMessage(iLoggingEvent.getFormattedMessage())
              .withLogger(iLoggingEvent.getLoggerName())
              .withLevel(formatLevel(iLoggingEvent.getLevel()))
              .withExtra(THREAD_NAME, iLoggingEvent.getThreadName());
  
          if (iLoggingEvent.getArgumentArray() != null) {
              eventBuilder.withSentryInterface(new MessageInterface(
                  iLoggingEvent.getMessage(),
                  formatMessageParameters(iLoggingEvent.getArgumentArray()),
                  iLoggingEvent.getFormattedMessage()));
          }
  
          if (iLoggingEvent.getThrowableProxy() != null) {
              eventBuilder.withSentryInterface(new ExceptionInterface(extractExceptionQueue(iLoggingEvent)));
          } else if (iLoggingEvent.getCallerData().length > 0) {
              eventBuilder.withSentryInterface(new StackTraceInterface(iLoggingEvent.getCallerData()));
          }
  
          for (Map.Entry<String, String> contextEntry : iLoggingEvent.getLoggerContextVO().getPropertyMap().entrySet()) {
              eventBuilder.withExtra(contextEntry.getKey(), contextEntry.getValue());
          }
  
          for (Map.Entry<String, String> mdcEntry : iLoggingEvent.getMDCPropertyMap().entrySet()) {
              if (Sentry.getStoredClient().getMdcTags().contains(mdcEntry.getKey())) {
                  eventBuilder.withTag(mdcEntry.getKey(), mdcEntry.getValue());
              } else {
                  eventBuilder.withExtra(mdcEntry.getKey(), mdcEntry.getValue());
              }
          }
  
          if (iLoggingEvent.getMarker() != null) {
              eventBuilder.withTag(LOGBACK_MARKER, iLoggingEvent.getMarker().getName());
          }
  
          return eventBuilder;
      }
docs: Builds an EventBuilder based on the logging event.
  
  @param iLoggingEvent Log generated.
  @return EventBuilder containing details provided by the logging system.