title: scala 2.11: how do I redirect console output to file
body: <p><code>Console.setOut(printStream)</code> method is deprecated in scala 2.11. Is there any other alternatives for this now? How do I redirect console output to file?</p>