I\'m using Jasmine via the jasmine-maven-plugin, and I would like to see console.log() messages in the Maven build output. Is there a way to achieve this?
If console.log
I think it is not possible.
I had to overwrite the console.log implementation in the spec loader. i.e (using jQuery):
var console = {
panel: $('body').append('').css({position:'fixed', top:0, right:0,background:'transparent'}),
log: function(m){
this.panel.prepend(''+m+'');
}
};
console.log('message 1');
console.log('message 2');
here your have a functional example