libqi-api  2.1.4.13
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
qi::log::LogStream Class Reference

Each log macro creates a LogStream object. More...

#include <log.hxx>

Public Member Functions

 LogStream (const qi::LogLevel level, const char *file, const char *function, const int line, const char *category)
 LogStream. Will log at object destruction. More...
 
 LogStream (const qi::LogLevel level, const char *file, const char *function, const int line, CategoryType category)
 
 LogStream (const qi::LogLevel level, const char *file, const char *function, const int line, const char *category, const std::string &message)
 
 ~LogStream ()
 LogStream destructor. More...
 
LogStreamself ()
 Necessary to work with an anonymous objects. More...
 

Detailed Description

Each log macro creates a LogStream object.

Definition at line 211 of file log.hxx.

Constructor & Destructor Documentation

qi::log::LogStream::LogStream ( const qi::LogLevel  level,
const char *  file,
const char *  function,
const int  line,
const char *  category 
)
inline

LogStream. Will log at object destruction.

Parameters
levelThe verbosity of the message.
categoryLog category (for filtering in the future).
fileFilename from which this function was called (ex: FILE).
functionFunction name from which this function was called (ex: FUNCTION).
lineLine from which this function was called (ex: LINE).

Definition at line 214 of file log.hxx.

qi::log::LogStream::LogStream ( const qi::LogLevel  level,
const char *  file,
const char *  function,
const int  line,
CategoryType  category 
)
inline

Definition at line 227 of file log.hxx.

qi::log::LogStream::LogStream ( const qi::LogLevel  level,
const char *  file,
const char *  function,
const int  line,
const char *  category,
const std::string &  message 
)
inline

Definition at line 240 of file log.hxx.

qi::log::LogStream::~LogStream ( )
inline

LogStream destructor.

Definition at line 256 of file log.hxx.

Member Function Documentation

qi::log::LogStream & qi::log::LogStream::self ( )
inline

Necessary to work with an anonymous objects.

Definition at line 264 of file log.hxx.


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