Created
March 25, 2014 12:16
-
-
Save tomer-ben-david/9760715 to your computer and use it in GitHub Desktop.
slf4j scala array printing
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
LOG.debug("[mymofulr][{}], response [{}]", Array(1, 2).asInstanceOf[Array[Object]]) | |
// Note if you don't do the asInstanceOf[Array[Object]] it would simply print the Array.toString as the first item. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment