From: Ruben d'Arco Date: Wed, 22 Apr 2020 20:09:52 +0000 (+0100) Subject: Add notes on logging ability in dnsdist X-Git-Tag: dnsdist-1.5.0-rc2~19^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F9052%2Fhead;p=thirdparty%2Fpdns.git Add notes on logging ability in dnsdist --- diff --git a/pdns/dnsdistdist/docs/reference/index.rst b/pdns/dnsdistdist/docs/reference/index.rst old mode 100644 new mode 100755 index 08c64c2db5..0f462f94ec --- a/pdns/dnsdistdist/docs/reference/index.rst +++ b/pdns/dnsdistdist/docs/reference/index.rst @@ -22,3 +22,4 @@ These chapters contain extensive information on all functions and object availab snmp tuning kvs + logging diff --git a/pdns/dnsdistdist/docs/reference/logging.rst b/pdns/dnsdistdist/docs/reference/logging.rst new file mode 100755 index 0000000000..f6751d977c --- /dev/null +++ b/pdns/dnsdistdist/docs/reference/logging.rst @@ -0,0 +1,24 @@ +Logging +======= + +There are some functions to create log output. + +.. function:: errlog(line) + + Writes a error line. + + :param str line: The line to write. + + +.. function:: warnlog(line) + + Writes a warning line. + + :param str line: The line to write. + + +.. function:: infolog(line) + + Writes an info line. + + :param str line: The line to write.