Scala SLF4J wrapper
Base trait for all classes that wants to be able use the logging infrastructure.
MapLike scala interface for Mongo DBObjects - proxies an existing DBObject.
MapLike scala interface for Mongo DBObjects - proxies an existing DBObject. Cannot act as a DBObject or implement it's interface due to conflicts between the java methods and scala methods. Implicits and explicit methods allow you to convert to java though.
1.0
Nice trick from Miles Sabin using ambiguity in implicit resolution to disallow Nothing
Logger factory
Logger factory
ex.
val logger = Logger("my.cool.logger") val logger = Logger(classOf[Banana]) val rootLogger = Logger.root
Scala SLF4J wrapper
Example:
The logger uses String.format: http://download-llnw.oracle.com/javase/6/docs/api/java/lang/String.html#format(java.lang.String,%20java.lang.Object...)