@Override
    public String toString() {
      return regex;
    }
Regex with named capture groups that can be used to match Geode log messages.

<p>
Example usage with AssertJ:

<pre>
{@literal @}Test
public void logMessageMatches() {}
  String logMessage = "[info 2018/09/24 12:35:59.515 PDT logMessageRegexTest {@literal <}main> tid=0x1] this is a log statement";
  assertThat(logMessage).matches(LogMessageRegex.getRegex());
}
</pre>
<p>
Example usage with named group capturing:

<pre>
{@literal @}Test
public void logLevelIsInfo() {
  Matcher matcher = getPattern().matcher(logMessage);
  assertThat(matcher.matches()).isTrue();
  assertThat(matcher.group(LogMessageRegex.Groups.LOG_LEVEL.getName())).isEqualTo("info");
}
</pre>
<p>
Note that a captured threadName will be in the form {@code <threadName>} and threadId will be in
the form {@code tid=hexThreadId} where hexThreadId is the threadId in hexadecimal.
geode-core/src/main/java/org/apache/geode/logging/internal/LogMessageRegex.java