diff --git a/Sources/log.h b/Sources/log.h index c9204ce..0753e4d 100644 --- a/Sources/log.h +++ b/Sources/log.h @@ -2,8 +2,16 @@ #include +#ifdef __cplusplus +extern "C" { +#endif + typedef enum { LOG_LEVEL_INFO, LOG_LEVEL_WARNING, LOG_LEVEL_ERROR } log_level_t; void kong_log(log_level_t log_level, const char *format, ...); void kong_log_args(log_level_t log_level, const char *format, va_list args); + +#ifdef __cplusplus +} +#endif