thanks for the tip. that is indeed an improvement for the C++ case -
unfortunately it doesn't help for my current C project. Also I'd like to
completely get rid of the useless "source file" info (since it is a
nuisance having to edit that out first when using the logs), something that
I'd handle in the plain JavaScript context using something like this:
function disableLogSourceDisplay() {
var origLog = console.log;
console.log = function (s1) {
setTimeout(origLog.bind(console, s1)); // "lose" the original context
};
}
disableLogSourceDisplay();
--
You received this message because you are subscribed to the Google Groups
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/emscripten-discuss/889ef6e1-e8de-470f-841c-e769a0edfdf2n%40googlegroups.com.