diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-03-14 14:54:41 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-03-14 14:54:41 +0100 |
commit | 17a949114db25546973989bbdcc0c71f0a5e3503 (patch) | |
tree | 91dba28987436be69b1961b5ac1ec816b6ab1bd2 /src/log.h | |
parent | 0d1575814b753452207010a503a5cc0ba959b8dc (diff) |
log: introduce log_metav
Diffstat (limited to 'src/log.h')
-rw-r--r-- | src/log.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -24,6 +24,7 @@ #include <syslog.h> #include <stdbool.h> +#include <stdarg.h> #include "macro.h" @@ -73,6 +74,14 @@ int log_meta( const char *func, const char *format, ...) _printf_attr_(5,6); +int log_metav( + int level, + const char*file, + int line, + const char *func, + const char *format, + va_list ap); + _noreturn_ void log_assert_failed(const char *text, const char *file, int line, const char *func); _noreturn_ void log_assert_failed_unreachable(const char *text, const char *file, int line, const char *func); |