Commit 6db0fa3a authored by weinig@apple.com's avatar weinig@apple.com

Disable WebKit2 logging by default.

Reviewed by Anders Carlsson.

* Platform/Logging.cpp:
(initializeLogChannelsIfNecessary):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73878 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 67a46dba
2010-12-12 Sam Weinig <sam@webkit.org>
Reviewed by Anders Carlsson.
Disable WebKit2 logging by default.
* Platform/Logging.cpp:
(initializeLogChannelsIfNecessary):
2010-12-11 Brian Weinstein <bweinstein@apple.com>
Reviewed by Sam Weinig.
......@@ -27,9 +27,9 @@
#if !LOG_DISABLED
WTFLogChannel LogSessionState = { 0x00000001, "WebKit2LogLevel", WTFLogChannelOn };
WTFLogChannel LogContextMenu = { 0x00000002, "WebKit2LogLevel", WTFLogChannelOn };
WTFLogChannel LogTextInput = { 0x00000003, "WebKit2LogLevel", WTFLogChannelOn };
WTFLogChannel LogSessionState = { 0x00000001, "WebKit2LogLevel", WTFLogChannelOff };
WTFLogChannel LogContextMenu = { 0x00000002, "WebKit2LogLevel", WTFLogChannelOff };
WTFLogChannel LogTextInput = { 0x00000003, "WebKit2LogLevel", WTFLogChannelOff };
static inline void initializeLogChannel(WTFLogChannel* channel)
{
......@@ -45,6 +45,7 @@ void initializeLogChannelsIfNecessary()
initializeLogChannel(&LogContextMenu);
initializeLogChannel(&LogSessionState);
initializeLogChannel(&LogTextInput);
}
#endif // LOG_DISABLED
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment