X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=include%2Fafb%2Fafb-daemon-v2.h;h=6cfc60ba607890d069c7ca8fe3e159c00e9b082f;hb=524ce4c40da3b25630dffdd80c5aca99364a3569;hp=3ecd763bc28b82aa9647f65bf427664df321a086;hpb=06c7e1c7e9aec77a1a22ccb14dd0e540cf08f5d9;p=src%2Fapp-framework-binder.git diff --git a/include/afb/afb-daemon-v2.h b/include/afb/afb-daemon-v2.h index 3ecd763b..6cfc60ba 100644 --- a/include/afb/afb-daemon-v2.h +++ b/include/afb/afb-daemon-v2.h @@ -69,7 +69,19 @@ static inline struct afb_event afb_daemon_make_event_v2(const char *name) /* * Send a message described by 'fmt' and following parameters * to the journal for the verbosity 'level'. - * 'file' and 'line' are indicators of position of the code in source files. + * + * 'file', 'line' and 'func' are indicators of position of the code in source files + * (see macros __FILE__, __LINE__ and __func__). + * + * 'level' is defined by syslog standard: + * EMERGENCY 0 System is unusable + * ALERT 1 Action must be taken immediately + * CRITICAL 2 Critical conditions + * ERROR 3 Error conditions + * WARNING 4 Warning conditions + * NOTICE 5 Normal but significant condition + * INFO 6 Informational + * DEBUG 7 Debug-level messages */ static inline void afb_daemon_verbose_v2(int level, const char *file, int line, const char * func, const char *fmt, ...) __attribute__((format(printf, 5, 6))); static inline void afb_daemon_verbose_v2(int level, const char *file, int line, const char * func, const char *fmt, ...)