summaryrefslogtreecommitdiffstats
path: root/docs/nspr/reference/prlogmoduleinfo.rst
blob: ea616e435a36cbe8b4095e669c1df762b658650d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
PR_NewLogModule
===============


The ``PRLogModuleInfo`` structure controls logging from within your
application. To log your program's activity, create a
``PRLogModuleInfo`` structure using
`:ref:`PR_NewLogModule` <http://www-archive.mozilla.org/projects/nspr/reference/html/prlog.html#25372>`__
.


Syntax
------

::

   #include <prlog.h>

   typedef struct PRLogModuleInfo {
      const char *name;
      PRLogModuleLevel level;
      struct PRLogModuleInfo *next;
   } PRLogModuleInfo;