Class FormatStringParser


  • public final class FormatStringParser
    extends Object
    A parser which can translate a log4j-style format string into a series of FormatStep instances.
    • Method Detail

      • getSteps

        public static FormatStep[] getSteps​(String formatString,
                                            ColorMap colors)
        Compile a format string into a series of format steps.
        Parameters:
        formatString - the format string
        Returns:
        the format steps