[vlc-devel] [PATCH 0/2] Libvlc formatted log callback

Jeremy Vignelles jeremy.vignelles at dev3i.fr
Mon May 20 09:29:54 CEST 2019


> Jeremy, I have an other approach in mind.Doing like android. Implementing a vlc logger module (cf. modules/logger/android.c). Ok it's easier for Android since you can do the implementation in C. I have no idea if it's possible to do that in C#.

That implementation is for the specific case of android logcat, but I don't think this applies to the generic case of having a libvlc binding for C#.

Everything that can be done in C with libvlc should be doable in C# through LibVLCSharp (as long as it makes sense). That's currently the case for all other APIs and this is the only one that is missing.

What if someone wants to have a LibVLC log window in its app? What if someone wants to get libvlc log message, and merge them in his app's logs? Having log callbacks is a great way to do that, except that va_list makes it hard to consume in other languages.


More information about the vlc-devel mailing list