[Webkit-unassigned] [Bug 40807] [EFL] add support for logging

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 18 08:31:59 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=40807





--- Comment #3 from Lucas De Marchi <lucas.demarchi at profusion.mobi>  2010-06-18 08:31:59 PST ---
(In reply to comment #0)
> Logging is not fully implemented for EFL port.
> 
> WebKit/WebCore/platform/efl/LoggingEfl.cpp
> 
> 
> namespace WebCore {
> 
> void InitializeLoggingChannelsIfNecessary()
> {
>     LogNotYetImplemented.state = WTFLogChannelOn;
> }
> 
> }

Ohh.. Re-thinking about this and the function's name ("IfNecessary"): it's not needed at all because eina_log was already initialized in ewk_main(). With this patch you are justing creating another environment variable to re-implement what is done in eina_log. You should just use

EINA_LOG_LEVELS=<your_log_channel_1>:<your_log_level_1>

Using this environment variable, each log channel is separated by "," like in:

EINA_LOG_LEVELS=ewebkit:2,ewebkit-demo:5 ewebkit-demo

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list