mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 22:15:20 +00:00
20 lines
350 B
C
20 lines
350 B
C
/*
|
|
* Copyright (C) 2009-2015 Red Hat ; see COPYRIGHT for license
|
|
*/
|
|
|
|
#include "log.h"
|
|
|
|
#include <isc/util.h>
|
|
|
|
#include <dns/log.h>
|
|
|
|
void
|
|
log_write(int level, const char *format, ...) {
|
|
va_list args;
|
|
|
|
va_start(args, format);
|
|
isc_log_vwrite(dns_lctx, DNS_LOGCATEGORY_DATABASE, DNS_LOGMODULE_DYNDB,
|
|
level, format, args);
|
|
va_end(args);
|
|
}
|