|
| | JSONLayout () |
| |
| void | setLocationInfo (bool locationInfoFlag) |
| | The LocationInfo option takes a boolean value. More...
|
| |
| bool | getLocationInfo () const |
| | Returns the current value of the LocationInfo option. More...
|
| |
| void | setPrettyPrint (bool prettyPrintFlag) |
| | The PrettyPrint option takes a boolean value. More...
|
| |
| bool | getPrettyPrint () const |
| | Returns the current value of the PrettyPrint option. More...
|
| |
| virtual LogString | getContentType () const |
| | Returns the content type output by this layout, i.e "application/json". More...
|
| |
| virtual void | activateOptions (log4cxx::helpers::Pool &) |
| | No options to activate. More...
|
| |
| virtual void | setOption (const LogString &option, const LogString &value) |
| | Set options. More...
|
| |
| virtual void | format (LogString &output, const spi::LoggingEventPtr &event, log4cxx::helpers::Pool &pool) const |
| | Implement this method to create your own layout format. More...
|
| |
| virtual bool | ignoresThrowable () const |
| | The JSON layout handles the throwable contained in logging events. More...
|
| |
| virtual | ~Layout () |
| |
| void | addRef () const |
| |
| void | releaseRef () const |
| |
| virtual void | format (LogString &output, const spi::LoggingEventPtr &event, log4cxx::helpers::Pool &pool) const =0 |
| | Implement this method to create your own layout format. More...
|
| |
| virtual LogString | getContentType () const |
| | Returns the content type output by this layout. More...
|
| |
| virtual void | appendHeader (LogString &output, log4cxx::helpers::Pool &p) |
| | Append the header for the layout format. More...
|
| |
| virtual void | appendFooter (LogString &output, log4cxx::helpers::Pool &p) |
| | Append the footer for the layout format. More...
|
| |
| virtual bool | ignoresThrowable () const =0 |
| | If the layout handles the throwable object contained within LoggingEvent, then the layout should return false. More...
|
| |
Public Member Functions inherited from OptionHandler |
| virtual | ~OptionHandler () |
| |
| virtual void | activateOptions (log4cxx::helpers::Pool &p)=0 |
| | Activate the options that were previously set with calls to option setters. More...
|
| |
| virtual void | setOption (const LogString &option, const LogString &value)=0 |
| | Set option to value. More...
|
| |
| virtual const helpers::Class & | getClass () const |
| |
| virtual | ~Object () |
| |
| virtual void | addRef () const =0 |
| |
| virtual void | releaseRef () const =0 |
| |
| virtual bool | instanceof (const Class &clazz) const =0 |
| |
| virtual const void * | cast (const Class &clazz) const =0 |
| |
| | ObjectImpl () |
| |
| virtual | ~ObjectImpl () |
| |
| void | addRef () const |
| |
| void | releaseRef () const |
| |
This layout outputs events in a JSON dictionary.