summaryrefslogtreecommitdiffstats
path: root/docs/nspr/reference/prlogmodulelevel.rst
blob: d9ed3f78cab33fba4c51bc16263c3cae4605b259 (plain)
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
PRLogModuleLevel
================

The enumerated type :ref:`PRLogModuleLevel` defines levels of logging
available to application programs.


Syntax
------

::

   #include <prlog.h>

   typedef enum PRLogModuleLevel {
      PR_LOG_NONE = 0,
      PR_LOG_ALWAYS = 1,
      PR_LOG_ERROR = 2,
      PR_LOG_WARNING = 3,
      PR_LOG_DEBUG = 4,

      PR_LOG_NOTICE = PR_LOG_DEBUG,
      PR_LOG_WARN = PR_LOG_WARNING,
      PR_LOG_MIN = PR_LOG_DEBUG,
      PR_LOG_MAX = PR_LOG_DEBUG
   } PRLogModuleLevel;