Scala 2

API Specification
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 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.