code: private void populateContextData(Report report, ILoggingEvent event) {
          Map<String, String> propertyMap = event.getMDCPropertyMap();
  
          if (propertyMap != null) {
              // Loop through all the keys and put them in the correct tabs
  
              for (Map.Entry<String, String> entry : propertyMap.entrySet()) {
                  report.addToTab("Context", entry.getKey(), entry.getValue());
              }
          }
      }
docs: Adds logging context values to the given report meta data
  
  @param report The report being sent to Bugsnag
  @param event The logging event