Skip to content
  • commit-queue@webkit.org's avatar
    [GTK] [WK2] Implement missing initializeLogChannel function. · fbb22778
    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=63381
    
    Patch by Lukasz Slachciak <lukasz.slachciak@gmail.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
    fbb22778