Class StackTraceStringResolver

    • Field Detail

      • truncationEnabled

        private final boolean truncationEnabled
      • truncationSuffix

        private final java.lang.String truncationSuffix
      • truncationPointMatcherStrings

        private final java.util.List<java.lang.String> truncationPointMatcherStrings
      • groupedTruncationPointMatcherRegexes

        private final java.util.List<java.util.regex.Pattern> groupedTruncationPointMatcherRegexes
    • Constructor Detail

      • StackTraceStringResolver

        StackTraceStringResolver​(EventResolverContext context,
                                 java.lang.String truncationSuffix,
                                 java.util.List<java.lang.String> truncationPointMatcherStrings,
                                 java.util.List<java.lang.String> truncationPointMatcherRegexes)
    • Method Detail

      • groupTruncationPointMatcherRegexes

        private static java.util.List<java.util.regex.Pattern> groupTruncationPointMatcherRegexes​(java.util.List<java.lang.String> regexes)
      • findLabeledLineStartIndex

        private static int findLabeledLineStartIndex​(java.lang.CharSequence buffer,
                                                     int startIndex,
                                                     int endIndex)
      • findLineStartIndex

        private static int findLineStartIndex​(java.lang.CharSequence buffer,
                                              int startIndex,
                                              int endIndex)
      • findMatchingIndex

        private static int findMatchingIndex​(java.lang.CharSequence matcher,
                                             java.lang.CharSequence buffer,
                                             int bufferStartIndex,
                                             int bufferEndIndex)