The PRLogModuleInfo
structure controls logging from within your application. To log your program's activity, create a PRLogModuleInfo
structure using PR_NewLogModule
.
#include <prlog.h> typedef struct PRLogModuleInfo { const char *name; PRLogModuleLevel level; struct PRLogModuleInfo *next; } PRLogModuleInfo;