diff options
Diffstat (limited to 'lib/log.h')
| -rw-r--r-- | lib/log.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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: * |
