ah! nice, I didn't know edje was so quiet on log messages

On Fri, Sep 23, 2016 at 10:38 AM, Carsten Haitzler <[email protected]> wrote:
> On Fri, 23 Sep 2016 08:37:34 -0300 Gustavo Sverzut Barbieri
> <[email protected]> said:
>
>> On Fri, Sep 23, 2016 at 8:11 AM, Carsten Haitzler <[email protected]>
>> wrote:
>> > raster pushed a commit to branch master.
>> >
>> > http://git.enlightenment.org/core/efl.git/commit/?id=8257c95f39eb2ba942f0f4821d19d5493749d34b
>> >
>> > commit 8257c95f39eb2ba942f0f4821d19d5493749d34b
>> > Author: Carsten Haitzler (Rasterman) <[email protected]>
>> > Date:   Fri Sep 23 20:10:16 2016 +0900
>> >
>> >     edje signal emits - enable DBG for being able to debug edj files
>> >
>> >     this would allow all emits from embryo script or otherwise to be seen
>> >     and debugged via eina-log.
>> > ---
>> >  src/lib/edje/edje_program.c | 2 +-
>> >  1 file changed, 1 insertion(+), 1 deletion(-)
>> >
>> > diff --git a/src/lib/edje/edje_program.c b/src/lib/edje/edje_program.c
>> > index ee183d5..bb3675d 100644
>> > --- a/src/lib/edje/edje_program.c
>> > +++ b/src/lib/edje/edje_program.c
>> > @@ -1282,7 +1282,7 @@ _edje_emit_handle(Edje *ed, const char *sig, const
>> > char *src, if (ed->delete_me) return;
>> >     if (!sig) sig = "";
>> >     if (!src) src = "";
>> > -   //   printf("EDJE EMIT: (%p) signal: \"%s\" source: \"%s\"\n", ed, sig,
>> > src);
>> > +   DBG("EDJE EMIT: (%p) signal: \"%s\" source: \"%s\"\n", ed, sig, src);
>>
>> raster, another possibility would be to create another log domain for
>> edje programs or contents debug in general, then use the full macro,
>> not the one that adds the domain automatically.
>>
>> with what you did the user will get debug of edje internals as well,
>> which may be "too much".
>
> actually you won't. there are actually onlt 2 DBG() prints from edje.
>
> edje_load.c:   DBG("edje_file_group_exists: '%s', '%s': %i.",
> eina_file_filename_get(f), glob, succeed);
> edje_program.c:   DBG("EDJE EMIT: (%p) signal: \"%s\" source: \"%s\"\n", ed,
> sig, src);
> edje_util.c:        DBG("cannot swallow part %s: part not exist!", part);
>
> so it'll be 99% emits :) they STILL can greb for their signal too... :) and
> likely should
>
> --
> ------------- Codito, ergo sum - "I code, therefore I am" --------------
> The Rasterman (Carsten Haitzler)    [email protected]
>



-- 
Gustavo Sverzut Barbieri
--------------------------------------
Mobile: +55 (16) 99354-9890

------------------------------------------------------------------------------
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to