I want to log something from within webkit and have it show up in Chrome's
log.  This seemingly basic operation seems to be unsupported in chromium's
version of webkit?
First off, WebKit does have WTFLogging facilities (see logging.h and
assertions.h) which are similar to our LOG(XXX) faciities.   There appears
to be no way to turn these on within the chromium build, because we don't
implement nor call the initialization routine
(InitializeLoggingChannelsIfNecessary()).  OK - I can implement that......

But next, I want the logging to actually go to chrome's log file.  The
function to change is Assertions.cpp:vprintf_stderr_common().  I can add an
if PLATFORM(CHROMIUM) here, and that would work, but how can I call code
back in chromium's base?

I don't think I can do this?  It seems I should add something to
WebKit/WebCore/platform/chromium/.... but - any references to base won't
work, right?  The README from webkit/api specifically says I can't use base
code (std types) in the chromium bridge.

What is the right way to do this?

Mike

--~--~---------~--~----~------------~-------~--~----~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to