Created
January 15, 2016 12:16
-
-
Save dabd/27f21dda6737db792a45 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class LoggerLikeStub extends LoggerLike { | |
import scala.collection.mutable.Buffer | |
val logMessages: Buffer[String] = Buffer() | |
override val logger: Logger = null | |
override def warn(msg: => String) = { | |
logMessages += msg | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment