Created
April 13, 2012 14:54
-
-
Save ers81239/2377425 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
def LogConfig(configItem: String, configValue: Any) = { | |
configValue match { | |
case configValueMap: Map[_,_] => val logString = "Configured " + configItem + " to " + configValueMap.mkString("{",", ","}") + "." | |
case _ => val logString = "Configured " + configItem + " to " + configValue + "." | |
} | |
info(logString) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
def LogConfig(configItem: String, configValue: Any) = {
}