.TH "log4tango::Layout" 3 "Wed Sep 2 2020" "Version 5.0.2" "log4tango" \" -*- nroff -*- .ad l .nh .SH NAME log4tango::Layout .SH SYNOPSIS .br .PP .PP \fC#include \fP .PP Inherited by \fBlog4tango::PatternLayout\fP, and \fBlog4tango::XMLLayout\fP\&. .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBLayout\fP ()" .br .RI "Constructor for \fBLayout\fP\&. " .ti -1c .RI "virtual \fB~Layout\fP ()" .br .RI "Destructor for \fBLayout\fP\&. " .ti -1c .RI "virtual std::string \fBformat\fP (const \fBLoggingEvent\fP &event)" .br .RI "Formats the \fBLoggingEvent\fP data to a string that appenders can log\&. " .in -1c .SH "Constructor & Destructor Documentation" .PP .SS "log4tango::Layout::Layout ()\fC [inline]\fP" .PP Constructor for \fBLayout\fP\&. .SS "virtual log4tango::Layout::~Layout ()\fC [inline]\fP, \fC [virtual]\fP" .PP Destructor for \fBLayout\fP\&. .SH "Member Function Documentation" .PP .SS "std::string log4tango::Layout::format (const \fBLoggingEvent\fP & event)\fC [virtual]\fP" .PP Formats the \fBLoggingEvent\fP data to a string that appenders can log\&. Overload this method to create your own layout format\&. .PP \fBParameters\fP .RS 4 \fIevent\fP The \fBLoggingEvent\fP\&. .RE .PP \fBReturns\fP .RS 4 an appendable string\&. .RE .PP .PP Reimplemented in \fBlog4tango::XMLLayout\fP, and \fBlog4tango::PatternLayout\fP\&. .SH "Author" .PP Generated automatically by Doxygen for log4tango from the source code\&.