Public Member Functions | |
virtual void | format (ostream &output, const spi::LoggingEventPtr &event) const =0 |
virtual String | getContentType () const |
virtual void | appendHeader (ostream &output) |
virtual void | appendFooter (ostream &output) |
virtual bool | ignoresThrowable () const =0 |
|
Append the footer for the layout format. The base class does nothing. Reimplemented in HTMLLayout. |
|
Append the header for the layout format. The base class does nothing. Reimplemented in HTMLLayout. |
|
Implement this method to create your own layout format. Implemented in HTMLLayout, PatternLayout, SimpleLayout, TTCCLayout, and XMLLayout. |
|
Returns the content type output by this layout. The base class returns "text/plain". Reimplemented in HTMLLayout. |
|
If the layout handles the throwable object contained within LoggingEvent, then the layout should return
The SimpleLayout, TTCCLayout, PatternLayout all return Implemented in HTMLLayout, PatternLayout, SimpleLayout, TTCCLayout, and XMLLayout. |