libqi-api  2.0.6.8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
qi::log::LogStream Class Reference

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

#include <log.hxx>

List of all members.

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.
 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.
LogStreamself ()
 Necessary to work with an anonymous objects.

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.

LogStream destructor.

Definition at line 256 of file log.hxx.


Member Function Documentation

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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines