|
Scala example source code file (Reporter.scala)
The Reporter.scala Scala example source codepackage scala.tools.nsc.interactive.tests.core private[tests] trait Reporter { def println(msg: Any): Unit } /** Reporter that simply prints all messages in the standard output.*/ private[tests] object ConsoleReporter extends Reporter { def println(msg: Any) { Console.println(msg) } } /** Reporter that swallows all passed message. */ private[tests] object NullReporter extends Reporter { def println(msg: Any) {} } Other Scala source code examplesHere is a short list of links related to this Scala Reporter.scala source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.