|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Layout<E>
Method Summary | |
---|---|
String |
doLayout(E event)
Transform an event (of type Object) and return it as a String after appropriate formatting. |
String |
getContentType()
Returns the content type as appropriate for the implementation. |
String |
getFileFooter()
Return the file footer for this layout. |
String |
getFileHeader()
Return the file header for this layout. |
String |
getPresentationFooter()
Return the footer of the logging event formatting. |
String |
getPresentationHeader()
Return the header of the logging event formatting. |
Methods inherited from interface ch.qos.logback.core.spi.ContextAware |
---|
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext |
Methods inherited from interface ch.qos.logback.core.spi.LifeCycle |
---|
isStarted, start, stop |
Method Detail |
---|
String doLayout(E event)
Taking in an object and returning a String is the least sophisticated way of formatting events. However, it is remarkably CPU-effective.
event
- The event to format
String getFileHeader()
String getPresentationHeader()
String getPresentationFooter()
String getFileFooter()
String getContentType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |