Go to the documentation of this file. 1 #ifndef PERSISTENTEVENTSLOGGING_H
2 #define PERSISTENTEVENTSLOGGING_H
5 #include "core/common/ApplicationPath.h"
9 #include "core/log/emlog.h"
12 #define PERSISTENT_EVENTS_LOG_FILE_PATH PATH_VARIABLE_LOG_DIR"persistentEvents.log"
14 #define LOG_TRACE_EVENT( msg, args... ) EFTRACE( PERSISTENT_EVENTS_LOG_FILE_PATH, msg, ## args )
15 #define LOG_INFO_EVENT( msg, args... ) EFINFO( PERSISTENT_EVENTS_LOG_FILE_PATH, msg, ## args )
16 #define LOG_WARN_EVENT( msg, args... ) EFWARN( PERSISTENT_EVENTS_LOG_FILE_PATH, msg, ## args )
17 #define LOG_ERROR_EVENT( msg, args... ) EFERROR( PERSISTENT_EVENTS_LOG_FILE_PATH, msg, ## args )
19 #define LOG_TRACE_EVENT( msg, args... )
20 #define LOG_INFO_EVENT( msg, args... )
21 #define LOG_WARN_EVENT( msg, args... )
22 #define LOG_ERROR_EVENT( msg, args... )
23 #endif // ifdef MIKRO_CORTEXA8
25 #endif // PERSISTENTEVENTSLOGGING_H