diff options
Diffstat (limited to 'Source/WebKit2/Platform/Logging.cpp')
-rw-r--r-- | Source/WebKit2/Platform/Logging.cpp | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/Source/WebKit2/Platform/Logging.cpp b/Source/WebKit2/Platform/Logging.cpp index 184821c..9093415 100644 --- a/Source/WebKit2/Platform/Logging.cpp +++ b/Source/WebKit2/Platform/Logging.cpp @@ -28,15 +28,20 @@ #if !LOG_DISABLED +namespace WebKit { + WTFLogChannel LogSessionState = { 0x00000001, "WebKit2LogLevel", WTFLogChannelOff }; WTFLogChannel LogContextMenu = { 0x00000002, "WebKit2LogLevel", WTFLogChannelOff }; WTFLogChannel LogTextInput = { 0x00000004, "WebKit2LogLevel", WTFLogChannelOff }; WTFLogChannel LogView = { 0x00000008, "WebKit2LogLevel", WTFLogChannelOff }; +WTFLogChannel LogIconDatabase = { 0x00000010, "WebKit2LogLevel", WTFLogChannelOff }; -static inline void initializeLogChannel(WTFLogChannel* channel) +#if !PLATFORM(MAC) +void initializeLogChannel(WTFLogChannel* channel) { - // FIXME: This is a build fix. Each platform will need to define their own initializeLogChannel(). + // FIXME: Each platform will need to define their own initializeLogChannel(). } +#endif void initializeLogChannelsIfNecessary() { @@ -46,9 +51,12 @@ void initializeLogChannelsIfNecessary() haveInitializedLogChannels = true; initializeLogChannel(&LogContextMenu); + initializeLogChannel(&LogIconDatabase); initializeLogChannel(&LogSessionState); initializeLogChannel(&LogTextInput); initializeLogChannel(&LogView); } +} // namespace WebKit + #endif // LOG_DISABLED |