logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

log4tango::Layout

Author

       Generated automatically by Doxygen for log4tango from the source code.

Version 5.0.1                                    Fri Feb 14 2020                            log4tango::Layout(3)

Constructor & Destructor Documentation

log4tango::Layout::Layout()[inline]
       Constructor for Layout.

   virtuallog4tango::Layout::~Layout()[inline],[virtual]
       Destructor for Layout.

Member Function Documentation

std::stringlog4tango::Layout::format(constLoggingEvent&event)[virtual]
       Formats the LoggingEvent data to a string that appenders can log. Overload this method to create your own
       layout format.

       Parametersevent The LoggingEvent.

       Returns
           an appendable string.

       Reimplemented in log4tango::PatternLayout, and log4tango::XMLLayout.

Name

       log4tango::Layout

Synopsis

       #include <Layout.hh>

       Inherited by log4tango::PatternLayout, and log4tango::XMLLayout.

   PublicMemberFunctionsLayout ()
           Constructor for Layout.
       virtual ~Layout ()
           Destructor for Layout.
       virtual std::string format (const LoggingEvent &event)
           Formats the LoggingEvent data to a string that appenders can log.

See Also