Interface PatternConverter

    • Field Detail

    • Method Detail

      • format

        void format​(Object obj,
                    StringBuilder toAppendTo)
        Formats an object into a string buffer.
        Parameters:
        obj - event to format, may not be null.
        toAppendTo - string buffer to which the formatted event will be appended. May not be null.
      • getName

        String getName()
        Returns the name of the converter.
        Returns:
        The name of the converter.
      • getStyleClass

        String getStyleClass​(Object e)
        This method returns the CSS style class that should be applied to the LoggingEvent passed as parameter, which can be null.
        Parameters:
        e - null values are accepted
        Returns:
        the name of the conversion pattern