I have problems reading log messages over the javascript API. It seems the API is only returning log messages with verbosity level of 1, no matter how I set log.verbosity (except -1, this will disable it completely).
Code: Select all
vlc.log.verbosity = 3;
....
var logOutput = document.getElementById("messages");
var messages = vlc.log.messages;
var iterator = messages.iterator();
while (iterator.hasNext) {
var m = iterator.next();
logOutput.innerHTML += m.severity + " [" + m.name + "] [" + m.type + "] " + m.message + "<br />";
}
messages.clear();
Is this a bug, or am I doing something wrong?
Joerg