예제 #1
0
void
_rtpp_log_ewrite(struct rtpp_log_inst *rli, int level, const char *function, const char *format, ...)
{
    va_list ap;

    va_start(ap, format);
    _rtpp_log_ewrite_va(rli, level, function, format, ap);
    va_end(ap);
}
예제 #2
0
static void
rtpp_log_obj_ewrite(struct rtpp_log *self, const char *fname, int level,
  const char *fmt, ...)
{
    va_list ap;
    struct rtpp_log_priv *pvt;

    pvt = PUB2PVT(self);
    va_start(ap, fmt);
    _rtpp_log_ewrite_va(pvt->log, level, fname, fmt, ap);
    va_end(ap);
    return;
}