File: logging.rst

package info (click to toggle)
dnsdist 2.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,640 kB
  • sloc: cpp: 91,323; javascript: 24,456; sh: 4,744; python: 1,328; makefile: 832; ansic: 816
file content (32 lines) | stat: -rwxr-xr-x 541 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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.

.. function:: vinfolog(line)

  .. versionadded:: 1.8.0

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

  :param str line: The line to write.