fluidvis
Public Member Functions | Protected Attributes | List of all members
sx::LogMarkup Class Reference

#include <Log4SX.h>

Inheritance diagram for sx::LogMarkup:
sx::ListMarkup

Public Member Functions

EXL LogMarkup (string message)
 
EXL LogMarkup (const LogMarkup &lm)
 
EXL LogMarkupoperator= (const LogMarkup &lm)
 
virtual EXL ~LogMarkup ()
 
EXL string getMessage () const
 

Protected Attributes

string message
 

Detailed Description

A LogMarkup helps structuring the log into parts. Each time a LogMarkup is passed to the Logger, all the messages are part of this markup, until another LogMarkup is posted. This class is meant to be used by overloading the << operator like this: <logger> << LogMarkup(<markup message>)

Constructor & Destructor Documentation

EXL sx::LogMarkup::LogMarkup ( string  message)

Constructs a new LogMarkup with markup message message. This class is meant to overload the << operator of the logger to append a new markup like this: <logger> << LogMarkup(<markup message>)

Parameters
messagemarkup message
EXL sx::LogMarkup::LogMarkup ( const LogMarkup lm)

copy constructor

virtual EXL sx::LogMarkup::~LogMarkup ( )
virtual

deconstructor

Member Function Documentation

EXL string sx::LogMarkup::getMessage ( ) const

getter

EXL LogMarkup& sx::LogMarkup::operator= ( const LogMarkup lm)

assignment operator

Member Data Documentation

string sx::LogMarkup::message
protected

markup message


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