Interface PaxLayout


  • public interface PaxLayout
    Framework library agnostic representation of a layout that's used to turn a logging event into String representation.
    • Method Detail

      • doLayout

        String doLayout​(PaxLoggingEvent event)
        Creates the string representation of a logging event.
        Parameters:
        event - the logging event
        Returns:
        the string reprensentation
      • getContentType

        String getContentType()
        Return the type of content
      • getHeader

        String getHeader()
        Returns the header for the layout format. The base class returns null.
      • getFooter

        String getFooter()
        Returns the footer for the layout format. The base class returns null.