#include <syslog.h>
#include <stdbool.h>
+#include <stdarg.h>
#include "macro.h"
const char *func,
const char *format, ...) _printf_attr_(5,6);
-_noreturn_ void log_assert(
+int log_metav(
+ int level,
const char*file,
int line,
const char *func,
- const char *format, ...) _printf_attr_(4,5);
+ 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);
/* This modifies the buffer passed! */
int log_dump_internal(