Commit d423cf51 authored by ap@apple.com's avatar ap@apple.com

Reviewed by Dan Bernstein.

        https://bugs.webkit.org/show_bug.cgi?id=52592
        Add a logging channel for WKView

        * Platform/Logging.cpp:
        * Platform/Logging.h:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75965 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 75ad60e5
2011-01-17 Alexey Proskuryakov <ap@apple.com>
Reviewed by Dan Bernstein.
https://bugs.webkit.org/show_bug.cgi?id=52592
Add a logging channel for WKView
* Platform/Logging.cpp:
* Platform/Logging.h:
2011-01-17 Anders Carlsson <andersca@apple.com>
Reviewed by Sam Weinig.
......@@ -30,6 +30,7 @@
WTFLogChannel LogSessionState = { 0x00000001, "WebKit2LogLevel", WTFLogChannelOff };
WTFLogChannel LogContextMenu = { 0x00000002, "WebKit2LogLevel", WTFLogChannelOff };
WTFLogChannel LogTextInput = { 0x00000004, "WebKit2LogLevel", WTFLogChannelOff };
WTFLogChannel LogTextView = { 0x00000008, "WebKit2LogLevel", WTFLogChannelOff };
static inline void initializeLogChannel(WTFLogChannel* channel)
{
......@@ -46,6 +47,7 @@ void initializeLogChannelsIfNecessary()
initializeLogChannel(&LogContextMenu);
initializeLogChannel(&LogSessionState);
initializeLogChannel(&LogTextInput);
initializeLogChannel(&LogView);
}
#endif // LOG_DISABLED
......@@ -39,6 +39,7 @@ EXTERN_C_BEGIN
extern WTFLogChannel LogContextMenu;
extern WTFLogChannel LogSessionState;
extern WTFLogChannel LogTextInput;
extern WTFLogChannel LogView;
void initializeLogChannelsIfNecessary(void);
......
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