NCBI C++ ToolKit
|
Go to the source code of this file.
Go to the SVN repository for this file.
Classes | |
class | CSrvDiagMsg |
Class used in all diagnostic logging. More... | |
Macros | |
#define | _VERIFY(x) if (x) {} else SRV_FATAL("assertion failed: " << #x) |
#define | _ASSERT(x) _VERIFY(x) |
#define | assert(x) _ASSERT(x) |
#define | SRV_LOG(sev, msg) |
Macro to be used for printing log messages. More... | |
#define | SRV_FATAL(msg) |
#define | INFO(msg) CSrvDiagMsg().StartInfo() << msg |
Macro to be used for printing informational messages. More... | |
#define _ASSERT | ( | x | ) | _VERIFY(x) |
Definition at line 50 of file srv_diag.hpp.
Definition at line 44 of file srv_diag.hpp.
#define assert | ( | x | ) | _ASSERT(x) |
Definition at line 58 of file srv_diag.hpp.
#define INFO | ( | msg | ) | CSrvDiagMsg().StartInfo() << msg |
Macro to be used for printing informational messages.
Macro usage is as follows: INFO(message << some_param << " more message");
Definition at line 182 of file srv_diag.hpp.
#define SRV_FATAL | ( | msg | ) |
Definition at line 173 of file srv_diag.hpp.
#define SRV_LOG | ( | sev, | |
msg | |||
) |
Macro to be used for printing log messages.
Macro usage is as follows: SRV_LOG(Error, message << some_param << " more message");
Definition at line 162 of file srv_diag.hpp.