jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=50d9f63c2e8e3773f3e433168c3b8020ac192ee4

commit 50d9f63c2e8e3773f3e433168c3b8020ac192ee4
Author: Thomas Guillem <tho...@gllm.fr>
Date:   Fri Mar 25 09:05:37 2016 +0100

    emotion/libvlc: log: print vlc module and id
---
 src/modules/emotion/libvlc/emotion_libvlc.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/modules/emotion/libvlc/emotion_libvlc.c 
b/src/modules/emotion/libvlc/emotion_libvlc.c
index d5fd847..e256a56 100644
--- a/src/modules/emotion/libvlc/emotion_libvlc.c
+++ b/src/modules/emotion/libvlc/emotion_libvlc.c
@@ -1673,6 +1673,10 @@ libvlc_log(void *data EINA_UNUSED, int level,
            const char *fmt, va_list args)
 {
    Eina_Log_Level eina_log_level;
+   const char *name, *header;
+   uintptr_t id;
+
+   libvlc_log_get_object(ctx, &name, &header, &id);
    switch (level)
      {
       case LIBVLC_DEBUG:
@@ -1693,7 +1697,7 @@ libvlc_log(void *data EINA_UNUSED, int level,
         break;
      }
    eina_log_vprint(_emotion_libvlc_log_domain, eina_log_level,
-                   __FILE__, __FUNCTION__, __LINE__, fmt, args);
+                   "", name, id, fmt, args);
 }
 
 static libvlc_instance_t *

-- 


Reply via email to