private String failedToMatchRegex(String line, Pattern pattern) {
    String $ = lineSeparator();
    return $ + "Line:" + $ + " " + line + $ + "failed to match regex:" + $ + " " + pattern + $;
  }
Integration tests for {@link LogWriterAppender} with {@code memberName} in
{@code log4j2.xml}.
geode-log4j/src/integrationTest/java/org/apache/geode/logging/log4j/internal/impl/LogWriterAppenderWithMemberNameInXmlIntegrationTest.java