|
Scala 2.1.6
|
class
Logged
extends
java.lang.Object with
scala.ScalaObject
class MyClass with Logged { ... do stuff, call log }
The user of the library instantiates:
val x = new MyClass() with ConsoleLogger;
and the logging will be sent to the Console.Def Summary | |
def
log
( msg : java.lang.String )
: scala.Unit
this method should log the message given as argument somewhere as a side-effect |
Def Detail |
def
log
( msg : java.lang.String ) : scala.Unit