Go to the source code of this file.
Compounds | |
| class | LobTraceException |
| A traced exception. More... | |
| struct | LobTraceProvider::_v |
| Config file Parse results. More... | |
| class | LobTraceProvider |
| Trace server. More... | |
| struct | LobTraceProvider::modDef_t |
| class | LobTraceStream |
| Trace message to be logged. More... | |
| class | LobTraceStreamEnd |
| Trigger to Flush the LobTraceStream to its associated LobTraceProvider. More... | |
Variables | |
| LobTraceProvider | g_lobTraceProvider |
| the default trace provider (used by basic macros). More... | |
| LobTraceStreamEnd | lt_endl |
| lt_endl is to LobTraceStream what endl is to cout. More... | |
| LobTraceStream & | g_lobTraceStream |
Include lobtracestream to your program will allow you to set runtime configurable traces with only 5 macros (2 mandatory + 3 optional).
the main features are:
LOB_TRACE(MODULE_SQL, WARNING) << "Unexpected value for i : " << i << lt_endl;
output will be (if MODULE_SQL trace level <= WARNING, else no trace generated):
3-jul-2002 09:59:33 WARNING MODULE_SQL: "Unexpected value for i : -12" [./example1.cpp:18]
|
|
the default trace provider (used by basic macros).
|
|
|
|
|
|
lt_endl is to LobTraceStream what endl is to cout.
|
1.2.12 written by Dimitri van Heesch,
© 1997-2001