Each log macro create a LogStream object.
More...
#include <qi/log.hpp>
List of all members.
Public Member Functions |
| 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 173 of file log.hpp.
Constructor & Destructor Documentation
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 176 of file log.hpp.
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 189 of file log.hpp.
The documentation for this class was generated from the following files: