tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

prlogmoduleinfo.rst (492B)


      1 PR_NewLogModule
      2 ===============
      3 
      4 
      5 The ``PRLogModuleInfo`` structure controls logging from within your
      6 application. To log your program's activity, create a
      7 ``PRLogModuleInfo`` structure using
      8 `:ref:`PR_NewLogModule` <http://www-archive.mozilla.org/projects/nspr/reference/html/prlog.html#25372>`__
      9 .
     10 
     11 
     12 Syntax
     13 ------
     14 
     15 ::
     16 
     17   #include <prlog.h>
     18 
     19   typedef struct PRLogModuleInfo {
     20      const char *name;
     21      PRLogModuleLevel level;
     22      struct PRLogModuleInfo *next;
     23   } PRLogModuleInfo;