Permalink
Browse files

Added default null logger

  • Loading branch information...
1 parent 929f160 commit 87c405f31909bac834b2fc7a6d697479f5d3a818 @banshee committed Feb 21, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 src/main/scala/com/restphone/androidproguardscala/ProvidesLogging.scala
@@ -4,3 +4,10 @@ trait ProvidesLogging {
def logMsg(msg: String)
def logError(msg: String)
}
+
+object ProvidesLogging {
+ val NullLogger = new ProvidesLogging {
+ def logMsg(msg: String) {}
+ def logError(msg: String) {}
+ }
+}

0 comments on commit 87c405f

Please sign in to comment.