Logging

There are some functions to create log output.

errlog(line)

Writes an 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)

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

Parameters:

line (str) – The line to write.