40#ifndef nsPluginLogging_h__
41#define nsPluginLogging_h__
50#define PLUGIN_LOGGING 1
61#define NPN_LOG_NAME "PluginNPN"
62#define NPP_LOG_NAME "PluginNPP"
63#define PLUGIN_LOG_NAME "Plugin"
66#define PLUGIN_LOG_ALWAYS 1
67#define PLUGIN_LOG_BASIC 3
68#define PLUGIN_LOG_NORMAL 5
69#define PLUGIN_LOG_NOISY 7
70#define PLUGIN_LOG_MAX 9
88 static PRLogModuleInfo* gNPNLog;
89 static PRLogModuleInfo* gNPPLog;
90 static PRLogModuleInfo* gPluginLog;
99 #define NPN_PLUGIN_LOG(a, b) \
101 PR_LOG(nsPluginLogging::gNPNLog, a, b); \
105 #define NPN_PLUGIN_LOG(a, b)
109 #define NPP_PLUGIN_LOG(a, b) \
111 PR_LOG(nsPluginLogging::gNPPLog, a, b); \
115 #define NPP_PLUGIN_LOG(a, b)
119 #define PLUGIN_LOG(a, b) \
121 PR_LOG(nsPluginLogging::gPluginLog, a, b); \
125 #define PLUGIN_LOG(a, b)