typedef void(* ValvulaLogHandler)(ValvulaCtx *ctx, ValvulaDebugLevel level, const char *file, int line, const char *message, axlPointer user_data)

Log handler prototype that is called every time a log is produced by the valvula engine.

This log handler definition is used by valvula_set_log_handler

ctxThe context where the log message was produced.
levelThe log level that was produced.
messageThe message produced by the engine (already formated).
user_dataOptional user pointer configured at valvula_set_log_handler