FIFE  6e1afdbeda11afe9ac53e6023a4be96ef88f1dc6
FIFE::LMsg Class Reference

Helper class to create log strings out from separate parts Usage: LMsg("some text") << variable << ", " << other variable. More...

#include <logger.h>

+ Collaboration diagram for FIFE::LMsg:

Public Member Functions

 LMsg (const std::string &msg="")
 
 ~LMsg ()
 
template<typename T >
LMsgoperator<< (const T &t)
 

Public Attributes

std::string str
 

Detailed Description

Helper class to create log strings out from separate parts Usage: LMsg("some text") << variable << ", " << other variable.

Definition at line 82 of file logger.h.

Constructor & Destructor Documentation

FIFE::LMsg::LMsg ( const std::string &  msg = "")
inline

Definition at line 84 of file logger.h.

FIFE::LMsg::~LMsg ( )
inline

Definition at line 85 of file logger.h.

Member Function Documentation

template<typename T >
LMsg& FIFE::LMsg::operator<< ( const T &  t)
inline

Definition at line 87 of file logger.h.

References str.

Member Data Documentation

std::string FIFE::LMsg::str

Definition at line 94 of file logger.h.

Referenced by FIFE::Logger::log(), and operator<<().


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