chap_log
static void chap_log (chap *, uint32_t, const char *, ...) __printflike(3,4);
chap_log(chap *_this, uint32_t prio, const char *fmt, ...)