|
Scala 2.2.0.9278
|
abstract
trait
Logged
extends
java.lang.Object
with
scala.ScalaObject
Mixing in the class Logged
indicates that a class provides
support for logging. For instance, the developer of a library writes
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
object.
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
msg -
...