This document is the API specification for Scala 2.
| Trait Summary | |
abstract
|
trait
ConsoleLogger
The trait ConsoleLogger is mixed into a concrete class who
has class Logged among its base classes.
|
abstract
|
trait
Logged
Mixing in the class
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 |