in scala/util/logging
trait Logged

trait Logged()
extends Object
with ScalaObject
Implementing classes or objects:
class MarkupHandler() in scala/xml/parsing
class ValidatingMarkupHandler() in scala/xml/parsing
class LoggedNodeFactory[A<:Node]() in scala/xml/factory

Mixing in the trait Logged indicates that a class provides support for logging. For instance, a 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.

Method Summary
  def log(msg: String): Unit
     this method should log the message given as argument somewhere as a side-effect

Methods inherited from java/lang/Object-class
clone, eq, equals, finalize, getClass, hashCode, ne, notify, notifyAll, synchronized, toString, wait, wait, wait

Methods inherited from scala/Any-class
!=, ==, asInstanceOf, isInstanceOf, match

Methods inherited from scala/ScalaObject-class
getScalaType

Method Detail

log

  def log(msg: String): Unit
this method should log the message given as argument somewhere as a side-effect