libqi  1.12
Public Member Functions
qi::log::LogStream Class Reference

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

#include <qi/log.hpp>

List of all members.

Public Member Functions

 LogStream (const LogStream &rhs)
 LogStream. Copy Ctor.
LogStreamoperator= (const LogStream &rhs)
 LogStream assignment operator.
 LogStream (const LogLevel level, const char *file, const char *function, const int line, const char *category)
 LogStream. Will log at object destruction.
 LogStream (const LogLevel level, const char *file, const char *function, const int line, const char *category, const char *fmt,...)
 LogStream. Will log at object destruction.
 ~LogStream ()
 Destructor.
LogStreamself ()
 Necessary to work with an anonymous object.

Detailed Description

Each log macro create a LogStream object.

Definition at line 164 of file log.hpp.


Constructor & Destructor Documentation

qi::log::LogStream::LogStream ( const LogStream rhs) [inline]

LogStream. Copy Ctor.

Parameters:
rhsLogStream.

Definition at line 168 of file log.hpp.

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

LogStream. Will log at object destruction.

Parameters:
level{ debug = 6, verbose=5, info = 4, warning = 3, error = 2, fatal = 1, silent = 0 }
file__FILE__
function__FUNCTION__
line__LINE__
categorylog category

Definition at line 187 of file log.hpp.

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

LogStream. Will log at object destruction.

Parameters:
level{ debug = 6, verbose=5, info = 4, warning = 3, error = 2, fatal = 1, silent = 0 }
file__FILE__
function__FUNCTION__
line__LINE__
categorylog category
fmtprintf like format string

Definition at line 200 of file log.hpp.


Member Function Documentation

qi::log::LogStream & qi::log::LogStream::operator= ( const LogStream rhs) [inline]

LogStream assignment operator.

Parameters:
rhsLogStream.

Definition at line 177 of file log.hpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines