This abstract layout takes care of all the date related options and formatting work.
More...
|
| | DateLayout (const LogString &dateLayoutOption) |
| |
| virtual | ~DateLayout () |
| |
| virtual void | activateOptions (log4cxx::helpers::Pool &p) |
| | Activate the options that were previously set with calls to option setters. More...
|
| |
| virtual void | setOption (const LogString &option, const LogString &value) |
| | Set option to value. More...
|
| |
| void | setDateFormat (const LogString &dateFormat1) |
| | The value of the DateFormat option should be either an argument to the constructor of helpers::DateFormat or one of the strings "NULL", "RELATIVE", "ABSOLUTE", "DATE" or "ISO8601. More...
|
| |
| const LogString & | getDateFormat () const |
| | Returns value of the DateFormat option. More...
|
| |
| void | setTimeZone (const LogString &timeZone) |
| | The TimeZoneID option is a time zone ID string in the format expected by the locale C++ standard class. More...
|
| |
| const LogString & | getTimeZone () const |
| | Returns value of the TimeZone option. More...
|
| |
| void | formatDate (LogString &s, const spi::LoggingEventPtr &event, log4cxx::helpers::Pool &p) const |
| |
| virtual | ~Layout () |
| |
| 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 log4cxx::spi::OptionHandler |
| virtual | ~OptionHandler () |
| |
| virtual | ~Object () |
| |
| virtual bool | instanceof (const Class &clazz) const =0 |
| |
| virtual const void * | cast (const Class &clazz) const =0 |
| |
This abstract layout takes care of all the date related options and formatting work.