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".


-- 
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