LogExtracts tryParse(String message){
  for (  Extractor extractor : Extractor.values()) {
    Matcher matcher=extractor.newMatcher(message);
    if (matcher.matches()) {
      return extract(extractor,matcher);
    }
  }
  return null;
}

LogExtracts tryParse ( String message ) { for ( Extractor extractor : Extractor . values ( ) ) { Matcher matcher = extractor . newMatcher ( message ) ; if ( matcher . matches ( ) ) { return extract ( extractor , matcher ) ; } } return null ; }
given the log message , attempts to parse and extract known parts .
