Logo Search packages:      
Sourcecode: avahi version File versions  Download package

void avahi_log_ap ( AvahiLogLevel  level,
const char *  format,
va_list  ap 
)

Issue a log message using a va_list object

Definition at line 35 of file log.c.

                                                                      {
    char txt[256];

    vsnprintf(txt, sizeof(txt), format, ap);

    if (log_function)
        log_function(level, txt);
    else
        fprintf(stderr, "%s\n", txt);
}


Generated by  Doxygen 1.6.0   Back to index