]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Add notes on logging ability in dnsdist 9052/head
authorRuben d'Arco <cyclops@prof-x.net>
Wed, 22 Apr 2020 20:09:52 +0000 (21:09 +0100)
committerRuben d'Arco <cyclops@prof-x.net>
Wed, 22 Apr 2020 20:09:52 +0000 (21:09 +0100)
pdns/dnsdistdist/docs/reference/index.rst [changed mode: 0644->0755]
pdns/dnsdistdist/docs/reference/logging.rst [new file with mode: 0755]

old mode 100644 (file)
new mode 100755 (executable)
index 08c64c2..0f462f9
@@ -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 (executable)
index 0000000..f6751d9
--- /dev/null
@@ -0,0 +1,24 @@
+Logging\r
+=======\r
+\r
+There are some functions to create log output.\r
+\r
+.. function:: errlog(line)\r
+\r
+  Writes a error line.\r
+\r
+  :param str line: The line to write.\r
+\r
+\r
+.. function:: warnlog(line)\r
+\r
+  Writes a warning line.\r
+\r
+  :param str line: The line to write.\r
+\r
+\r
+.. function:: infolog(line)\r
+\r
+  Writes an info line.\r
+\r
+  :param str line: The line to write.\r