X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=doc%2Fapi-ref%2Fhtml%2Fdf%2Fd76%2Fhmi-debug_8h.html;fp=doc%2Fapi-ref%2Fhtml%2Fdf%2Fd76%2Fhmi-debug_8h.html;h=0000000000000000000000000000000000000000;hb=31ff5ce755d00cf12ea2ffc96c33ed9acd36358f;hp=3931c002c3319c75c993807560e8b59e9cdaa77b;hpb=bbb4ee8e9974c4b008da84a1e504120f70606c92;p=apps%2Fagl-service-homescreen.git
diff --git a/doc/api-ref/html/df/d76/hmi-debug_8h.html b/doc/api-ref/html/df/d76/hmi-debug_8h.html
deleted file mode 100644
index 3931c00..0000000
--- a/doc/api-ref/html/df/d76/hmi-debug_8h.html
+++ /dev/null
@@ -1,435 +0,0 @@
-
-
-
-
-
#include <time.h>
-#include <stdio.h>
-#include <afb/afb-binding.h>
-
-
Go to the source code of this file.
-
- |
-#define | HMI_ERROR(prefix, args, ...) _HMI_LOG(LOG_LEVEL_ERROR, __FILE__, __FUNCTION__, __LINE__, prefix, args, ##__VA_ARGS__) |
- |
-#define | HMI_WARNING(prefix, args, ...) _HMI_LOG(LOG_LEVEL_WARNING, __FILE__, __FUNCTION__,__LINE__, prefix, args,##__VA_ARGS__) |
- |
-#define | HMI_NOTICE(prefix, args, ...) _HMI_LOG(LOG_LEVEL_NOTICE, __FILE__, __FUNCTION__,__LINE__, prefix, args,##__VA_ARGS__) |
- |
-#define | HMI_INFO(prefix, args, ...) _HMI_LOG(LOG_LEVEL_INFO, __FILE__, __FUNCTION__,__LINE__, prefix, args,##__VA_ARGS__) |
- |
-#define | HMI_DEBUG(prefix, args, ...) _HMI_LOG(LOG_LEVEL_DEBUG, __FILE__, __FUNCTION__,__LINE__, prefix, args,##__VA_ARGS__) |
- |
-
- |
-static void | _HMI_LOG (enum LOG_LEVEL level, const char *file, const char *func, const int line, const char *prefix, const char *log,...) |
- |
-
- |
-static char | ERROR_FLAG [6][20] = {"NONE", "ERROR", "WARNING", "NOTICE", "INFO", "DEBUG"} |
- |
-
-
-
-
◆ HMI_DEBUG
-
-
-
-
-
- #define HMI_DEBUG |
- ( |
- |
- prefix, |
-
-
- |
- |
- |
- args, |
-
-
- |
- |
- |
- ... |
-
-
- |
- ) |
- | _HMI_LOG(LOG_LEVEL_DEBUG, __FILE__, __FUNCTION__,__LINE__, prefix, args,##__VA_ARGS__) |
-
-
-
-
-
-
◆ HMI_ERROR
-
-
-
-
-
- #define HMI_ERROR |
- ( |
- |
- prefix, |
-
-
- |
- |
- |
- args, |
-
-
- |
- |
- |
- ... |
-
-
- |
- ) |
- | _HMI_LOG(LOG_LEVEL_ERROR, __FILE__, __FUNCTION__, __LINE__, prefix, args, ##__VA_ARGS__) |
-
-
-
-
-
-
◆ HMI_INFO
-
-
-
-
-
- #define HMI_INFO |
- ( |
- |
- prefix, |
-
-
- |
- |
- |
- args, |
-
-
- |
- |
- |
- ... |
-
-
- |
- ) |
- | _HMI_LOG(LOG_LEVEL_INFO, __FILE__, __FUNCTION__,__LINE__, prefix, args,##__VA_ARGS__) |
-
-
-
-
-
-
◆ HMI_NOTICE
-
-
-
-
-
- #define HMI_NOTICE |
- ( |
- |
- prefix, |
-
-
- |
- |
- |
- args, |
-
-
- |
- |
- |
- ... |
-
-
- |
- ) |
- | _HMI_LOG(LOG_LEVEL_NOTICE, __FILE__, __FUNCTION__,__LINE__, prefix, args,##__VA_ARGS__) |
-
-
-
-
-
-
◆ HMI_WARNING
-
-
-
-
-
- #define HMI_WARNING |
- ( |
- |
- prefix, |
-
-
- |
- |
- |
- args, |
-
-
- |
- |
- |
- ... |
-
-
- |
- ) |
- | _HMI_LOG(LOG_LEVEL_WARNING, __FILE__, __FUNCTION__,__LINE__, prefix, args,##__VA_ARGS__) |
-
-
-
-
-
-
-
◆ LOG_LEVEL
-
-
-
-
-Enumerator |
---|
LOG_LEVEL_NONE | |
-LOG_LEVEL_ERROR | |
-LOG_LEVEL_WARNING | |
-LOG_LEVEL_NOTICE | |
-LOG_LEVEL_INFO | |
-LOG_LEVEL_DEBUG | |
-LOG_LEVEL_MAX | |
-
-
-
Definition at line 8 of file hmi-debug.h.
-
-
-
-
-
-
◆ _HMI_LOG()
-
-
-
-
-
-
-
-
- static void _HMI_LOG |
- ( |
- enum LOG_LEVEL |
- level, |
-
-
- |
- |
- const char * |
- file, |
-
-
- |
- |
- const char * |
- func, |
-
-
- |
- |
- const int |
- line, |
-
-
- |
- |
- const char * |
- prefix, |
-
-
- |
- |
- const char * |
- log, |
-
-
- |
- |
- |
- ... |
-
-
- |
- ) |
- | |
-
-
- |
-
-static |
-
-
-
-
-
Definition at line 26 of file hmi-debug.h.
-
28 const int log_level = (getenv(
"USE_HMI_DEBUG") == NULL)?0:atoi(getenv(
"USE_HMI_DEBUG"));
38 clock_gettime(CLOCK_REALTIME, &tp);
39 time = (tp.tv_sec * 1000000L) + (tp.tv_nsec / 1000);
43 if (log == NULL || vasprintf(&message, log, args) < 0)
45 fprintf(stderr,
"[%10.3f] [%s %s] [%s:%d] >>> %s \n", time / 1000.0, prefix,
ERROR_FLAG[level], func, line, message);
static char ERROR_FLAG[6][20]
-
-
-
-
-
-
◆ ERROR_FLAG
-
-
-
-
-
-
-
-
- char ERROR_FLAG[6][20] = {"NONE", "ERROR", "WARNING", "NOTICE", "INFO", "DEBUG"} |
-
-
- |
-
-static |
-
-
-
-
-
-
-
-
-