headerlog.h File Reference
#include <sstream>
#include <dbus-cxx/simplelogger_defs.h>
Include dependency graph for headerlog.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DBUSCXX_LOG_CSTR_HEADER(logger, message, level)
 
#define DBUSCXX_DEBUG_STDSTR(logger, message)
 

Variables

simplelogger_log_function dbuscxx_log_function
 

Macro Definition Documentation

◆ DBUSCXX_DEBUG_STDSTR

#define DBUSCXX_DEBUG_STDSTR (   logger,
  message 
)
Value:
do{\
std::stringstream stream;\
stream << message;\
DBUSCXX_LOG_CSTR_HEADER( logger, stream.str().c_str(), SL_DEBUG);\
} while(0)
@ SL_DEBUG
Definition: simplelogger_defs.h:28

◆ DBUSCXX_LOG_CSTR_HEADER

#define DBUSCXX_LOG_CSTR_HEADER (   logger,
  message,
  level 
)
Value:
do{\
if( !dbuscxx_log_function ) break;\
struct SL_LogLocation location;\
location.line_number = __LINE__;\
location.file = __FILE__;\
location.function = __func__;\
dbuscxx_log_function( logger, &location, level, message );\
} while(0)
simplelogger_log_function dbuscxx_log_function
Definition: utility.cpp:25
Where the log message was generated from.
Definition: simplelogger_defs.h:17
int line_number
Definition: simplelogger_defs.h:18

Variable Documentation

◆ dbuscxx_log_function

simplelogger_log_function dbuscxx_log_function
extern