Fix #624: Monkey-patch console.log to remove prefixes in test-bridge

Public method needs result type (a fortiori exported method).