Package org.ops4j.pax.logging.spi
Interface PaxLayout
-
public interface PaxLayoutFramework library agnostic representation of a layout that's used to turn a logging event into String representation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringdoLayout(PaxLoggingEvent event)Creates the string representation of a logging event.StringgetContentType()Return the type of contentStringgetFooter()Returns the footer for the layout format.StringgetHeader()Returns the header for the layout format.
-
-
-
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 returnsnull.
-
getFooter
String getFooter()
Returns the footer for the layout format. The base class returnsnull.
-
-