libcommonc++  0.7
Log.h++ File Reference
Include dependency graph for Log.h++:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Log
 Logging routines. More...
 

Namespaces

 ccxx
 

Macros

#define Log_assert(EXPR)   (void)((EXPR)|| ccxx::Log::assert_(__FILE__, __LINE__, #EXPR))
 Log an assertion. More...
 
#define Log_debug(M, ...)
 
#define Log_info(M, ...)   ccxx::Log::log(ccxx::LogInfo, __FILE__, __LINE__, M, __VA_ARGS__)
 Log an informational message. More...
 
#define Log_warning(M, ...)   ccxx::Log::log(ccxx::LogWarning, __FILE__, __LINE__, M, __VA_ARGS__)
 Log a warning message. More...
 
#define Log_error(M, ...)   ccxx::Log::log(ccxx::LogError, __FILE__, __LINE__, M, __VA_ARGS__)
 Log an error message. More...
 

Macro Definition Documentation

◆ Log_assert

#define Log_assert (   EXPR)    (void)((EXPR)|| ccxx::Log::assert_(__FILE__, __LINE__, #EXPR))

Log an assertion.

◆ Log_debug

#define Log_debug (   M,
  ... 
)

◆ Log_error

#define Log_error (   M,
  ... 
)    ccxx::Log::log(ccxx::LogError, __FILE__, __LINE__, M, __VA_ARGS__)

Log an error message.

◆ Log_info

#define Log_info (   M,
  ... 
)    ccxx::Log::log(ccxx::LogInfo, __FILE__, __LINE__, M, __VA_ARGS__)

Log an informational message.

◆ Log_warning

#define Log_warning (   M,
  ... 
)    ccxx::Log::log(ccxx::LogWarning, __FILE__, __LINE__, M, __VA_ARGS__)

Log a warning message.