[GTK] [WK2] Implement missing initializeLogChannel function.
https://bugs.webkit.org/show_bug.cgi?id=63381 Patch by Lukasz Slachciak <email@example.com> on 2011-07-19 Reviewed by Martin Robinson. Implemented logging for GTK platform in WebKit2 - function initializeLogChannel is called for all ports, so added missing implementation. Aslo helper function added for getting channels from names. * GNUmakefile.am: Added reference to new file LoggingGtk.cpp. * Platform/Logging.cpp: Logging implementation for GTK port enabled. (WebKit::getChannelFromName): Helper to connect name with WTFLogChannel. * Platform/Logging.h: New helper method added. * Platform/gtk/LoggingGtk.cpp: Added. GTK logging implementation. (WebKit::initializeLogChannel): Channel is initialized if its name is found in WEBKIT_DEBUG. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91307 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Showing with 112 additions and 1 deletion