summaryrefslogtreecommitdiff
path: root/lib/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/log.h')
-rw-r--r--lib/log.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/log.h b/lib/log.h
index be1d9fb592..8fb98a02ab 100644
--- a/lib/log.h
+++ b/lib/log.h
@@ -26,6 +26,12 @@
#include <stdint.h>
#include <stdbool.h>
#include <stdio.h>
+#include <stdarg.h>
+#include "lib/hook.h"
+
+/* Hook for external logging function */
+DECLARE_HOOK(zebra_ext_log, (int priority, const char *format, va_list args),
+ (priority, format, args));
/* Here is some guidance on logging levels to use:
*