Logging

There are some functions to create log output.

errlog(line)

Writes a error line.

Parameters:line (str) – The line to write.
warnlog(line)

Writes a warning line.

Parameters:line (str) – The line to write.
infolog(line)

Writes an info line.

Parameters:line (str) – The line to write.
vinfolog(line)

New in version 1.8.0.

Writes an info line if dnsdist is running in verbose (debug) mode.

Parameters:line (str) – The line to write.