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.
|
LogStream & | operator= (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.
|
LogStream & | self () |
| 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] |
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__ |
category | log 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__ |
category | log category |
fmt | printf like format string |
Definition at line 200 of file log.hpp.
Member Function Documentation
The documentation for this class was generated from the following files: