Skip to content

Instantly share code, notes, and snippets.

@tomer-ben-david
Created March 25, 2014 12:16
Show Gist options
  • Save tomer-ben-david/9760715 to your computer and use it in GitHub Desktop.
Save tomer-ben-david/9760715 to your computer and use it in GitHub Desktop.
slf4j scala array printing
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