rasdaman complete source
Namespaces | Macros | Variables
nmlog.h File Reference
#include <string>
#include <sstream>
#include <iostream>

Go to the source code of this file.

Namespaces

 nmlog
 

Macros

#define NMDebug(arg)
 
#define NMDebugAI(arg)
 
#define NMDebugInd(level, arg)
 
#define NMDebugTime(arg)
 
#define NMDebugTimeInd(level, arg)
 
#define NMDebugCtx(ctx, arg)
 
#define NMDebugTimeCtx(ctx, arg)
 
#define NMErr(context, arg)
 
#define NMMsg(arg)
 

Variables

int nmlog::nmindent
 

Macro Definition Documentation

#define NMDebug (   arg)
#define NMDebugAI (   arg)
#define NMDebugCtx (   ctx,
  arg 
)
#define NMDebugInd (   level,
  arg 
)
#define NMDebugTime (   arg)
#define NMDebugTimeCtx (   ctx,
  arg 
)
#define NMDebugTimeInd (   level,
  arg 
)
#define NMErr (   context,
  arg 
)
Value:
{ \
std::ostringstream str; \
str << "ERROR - " << context << "::" << \
__FUNCTION__ << ", l. " << \
__LINE__ << ": " arg; \
std::cerr << str.str() << std::endl; \
}
#define NMMsg (   arg)
Value:
{ \
std::ostringstream str; \
str arg; \
std::cout << str.str() << std::endl; \
}