dbus-cxx logo
Macros | Variables
simplelogger.h File Reference
#include "simplelogger_defs.h"
Include dependency graph for simplelogger.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SIMPLELOGGER_FUNCTION   __func__
 
#define SIMPLELOGGER_LOG_FUNCTION_NAME   simplelogger_global_log_function
 Global log pointer. More...
 
#define SIMPLELOGGER_LOG_CSTR(logger, message, level)
 
#define SIMPLELOGGER_TRACE_CSTR(logger, message)
 
#define SIMPLELOGGER_DEBUG_CSTR(logger, message)
 
#define SIMPLELOGGER_INFO_CSTR(logger, message)
 
#define SIMPLELOGGER_WARN_CSTR(logger, message)
 
#define SIMPLELOGGER_ERROR_CSTR(logger, message)
 
#define SIMPLELOGGER_FATAL_CSTR(logger, message)
 

Variables

simplelogger_log_function SIMPLELOGGER_LOG_FUNCTION_NAME
 

Macro Definition Documentation

#define SIMPLELOGGER_DEBUG_CSTR (   logger,
  message 
)
Value:
do{\
SIMPLELOGGER_LOG_CSTR( logger, message, SL_DEBUG);\
} while(0)
Definition: simplelogger_defs.h:28
#define SIMPLELOGGER_LOG_CSTR(logger, message, level)
Definition: simplelogger.h:34
#define SIMPLELOGGER_ERROR_CSTR (   logger,
  message 
)
Value:
do{\
SIMPLELOGGER_LOG_CSTR( logger, message, SL_ERROR);\
} while(0)
#define SIMPLELOGGER_LOG_CSTR(logger, message, level)
Definition: simplelogger.h:34
Definition: simplelogger_defs.h:31
#define SIMPLELOGGER_FATAL_CSTR (   logger,
  message 
)
Value:
do{\
SIMPLELOGGER_LOG_CSTR( logger, message, SL_FATAL);\
} while(0)
Definition: simplelogger_defs.h:32
#define SIMPLELOGGER_LOG_CSTR(logger, message, level)
Definition: simplelogger.h:34
#define SIMPLELOGGER_FUNCTION   __func__
#define SIMPLELOGGER_INFO_CSTR (   logger,
  message 
)
Value:
do{\
SIMPLELOGGER_LOG_CSTR( logger, message, SL_INFO);\
} while(0)
#define SIMPLELOGGER_LOG_CSTR(logger, message, level)
Definition: simplelogger.h:34
Definition: simplelogger_defs.h:29
#define SIMPLELOGGER_LOG_CSTR (   logger,
  message,
  level 
)
Value:
do{\
struct SL_LogLocation location;\
location.line_number = __LINE__;\
location.file = __FILE__;\
location.function = SIMPLELOGGER_FUNCTION;\
SIMPLELOGGER_LOG_FUNCTION_NAME( logger, &location, level, message );\
} while(0)
#define SIMPLELOGGER_LOG_FUNCTION_NAME
Global log pointer.
Definition: simplelogger.h:30
#define SIMPLELOGGER_FUNCTION
Definition: simplelogger.h:22
Where the log message was generated from.
Definition: simplelogger_defs.h:17
#define SIMPLELOGGER_LOG_FUNCTION_NAME   simplelogger_global_log_function

Global log pointer.

#define SIMPLELOGGER_TRACE_CSTR (   logger,
  message 
)
Value:
do{\
SIMPLELOGGER_LOG_CSTR( logger, message, SL_TRACE);\
} while(0)
Definition: simplelogger_defs.h:27
#define SIMPLELOGGER_LOG_CSTR(logger, message, level)
Definition: simplelogger.h:34
#define SIMPLELOGGER_WARN_CSTR (   logger,
  message 
)
Value:
do{\
SIMPLELOGGER_LOG_CSTR( logger, message, SL_WARN);\
} while(0)
Definition: simplelogger_defs.h:30
#define SIMPLELOGGER_LOG_CSTR(logger, message, level)
Definition: simplelogger.h:34

Variable Documentation

simplelogger_log_function SIMPLELOGGER_LOG_FUNCTION_NAME

Generated on Sun Mar 19 2017 14:54:27 for dbus-cxx by doxygen 1.8.8