emotion/libvlc: log: print vlc module and id

This commit is contained in:
Thomas Guillem 2016-03-25 09:05:37 +01:00 committed by Jean-Philippe Andre
parent 7d3e96757d
commit 50d9f63c2e
1 changed files with 5 additions and 1 deletions

View File

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