[webkit-efl] Log macro support for EINA_LOG_DOM_XXX series

Kangil Han kangil.han at samsung.com
Wed Sep 19 22:52:44 PDT 2012


I would prefer using ‘CRITICAL’.
It is not so long. :-)
 
From: webkit-efl-bounces at lists.webkit.org [mailto:webkit-efl-bounces at lists.webkit.org] On Behalf Of 송진우
Sent: Thursday, September 20, 2012 2:01 PM
To: Kenneth Rohde Christiansen
Cc: webkit-efl at lists.webkit.org
Subject: Re: [webkit-efl] Log macro support for EINA_LOG_DOM_XXX series
 
I created a bug to rename the log macros, https://bugs.webkit.org/show_bug.cgi?id=97158.
But regarding the 'CRITICAL', I'd like to take other's opinion that if we use 'CRITICAL' or 'CRIT'.
 
Thanks,
Jinwoo
 
------- Original Message -------
Sender : 송진우<jinwoo7.song at samsung.com> S5(책임)/책임/차세대Computing Lab(S/W센터)/삼성전자
Date : 2012-09-20 09:40 (GMT+09:00)
Title : Re: [webkit-efl] Log macro support for EINA_LOG_DOM_XXX series
 
I agree that WARN and INFO are more clear and consistent name. 
Then I'll create a bug to change the macro name in WebKit1 and WebKit2.

Thanks for feedback, Kenneth. :)

Jinwoo

------- Original Message -------
Sender : Kenneth Rohde Christiansen
Date : 2012-09-20 02:47 (GMT+09:00)
Title : Re: [webkit-efl] Log macro support for EINA_LOG_DOM_XXX series

So why are you using WRN and not WARN, INF and not INFO? The latter
seems better and more consistent

Kenneth

On Wed, Sep 19, 2012 at 7:02 AM, Jinwoo Song wrote:
> Dear webkit-efl developers,
>
> I'd like to notice you the newerly added log macros which wrap the EINA_LOG_DOM_XXX series.
> http://trac.webkit.org/changeset/128962
>
> #define CRITICAL(...) EINA_LOG_DOM_CRIT(_ewk_log_dom, __VA_ARGS__)
> #define ERR(...) EINA_LOG_DOM_ERR(_ewk_log_dom, __VA_ARGS__)
> #define WRN(...) EINA_LOG_DOM_WARN(_ewk_log_dom, __VA_ARGS__)
> #define INF(...) EINA_LOG_DOM_INFO(_ewk_log_dom, __VA_ARGS__)
> #define DBG(...) EINA_LOG_DOM_DBG(_ewk_log_dom, __VA_ARGS__)
>
> As you konw, the EINA_LOG_DOM_XXX logs a message on the speicified domain and format.
> In webkit2, 'ewebkit2' domain is registered in ewk_init(), so if you want to use the 'ewebkit2' domain for the error log,
> you can just use the simple log macros.
>
> Actually, the macro names came from the webkit1, but IMO, it seems to be better to align with EINA_LOG's names.
> If you have ideas or feedback, please let me know. :)
>
> Thanks,
> Jinwoo
> _______________________________________________
> webkit-efl mailing list
> webkit-efl at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo/webkit-efl



-- 
Kenneth Rohde Christiansen
Senior Engineer, WebKit, Qt, EFL
Phone  +45 4093 0598 / E-mail kenneth at webkit.org

﹆﹆﹆
_______________________________________________
webkit-efl mailing list
webkit-efl at lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-efl
 


  <http://ext.samsung.net/mailcheck/SeenTimeChecker?do=eef8b63af770994e7cbb4cb619bd6e38ded74e246b0392a72263391941c8527046483446edbe3485ffb958cdb0602b45166939bf9c82e93162e1ac75b522795a07805447a154a46fcf878f9a26ce15a0> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-efl/attachments/20120920/63aea338/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 14036 bytes
Desc: not available
URL: <http://lists.webkit.org/pipermail/webkit-efl/attachments/20120920/63aea338/attachment-0001.gif>


More information about the webkit-efl mailing list