CARMA C++
carma::util::VerySimpleLayout Class Reference

Very Simple layout class for CARMA tracing. More...

#include <carma/util/Logger.h>

Inherits Layout.

Public Member Functions

virtual std::string format (const log4cpp::LoggingEvent &event)
 Formats the LoggingEvent in VerySimpleLayout style:
"Name:NN: Message" where
Name is the file name, e.g. More...
 
 VerySimpleLayout ()
 Default constructor for VerySimpleLayout. More...
 
virtual ~VerySimpleLayout ()
 Destructor for VerySimpleLayout. More...
 

Detailed Description

Very Simple layout class for CARMA tracing.

Definition at line 278 of file Logger.h.

Constructor & Destructor Documentation

carma::util::VerySimpleLayout::VerySimpleLayout ( )

Default constructor for VerySimpleLayout.

virtual carma::util::VerySimpleLayout::~VerySimpleLayout ( )
virtual

Destructor for VerySimpleLayout.

Member Function Documentation

virtual std::string carma::util::VerySimpleLayout::format ( const log4cpp::LoggingEvent &  event)
virtual

Formats the LoggingEvent in VerySimpleLayout style:
"Name:NN: Message" where
Name is the file name, e.g.

Program.cc or Program.h
NN is the line number
Message is the traced message

Parameters
eventThe Logging Event generated by the Category method which passed the original log message.
Returns
The log message formatted according to VerySimpleLayout rules.
See Also
log4cpp::LoggingEvent

The documentation for this class was generated from the following file: