title: Scala and SLF4J :: pass multiple parameters
body: <p>Having the following code:
     log.info("parameters {} and {}", param1, param2) 
  compiles and works well with SLF4J in Scala</p>
  
  <p>However if I want to pass more arguments, I need to use Array:</p>
  
  <pre><code>log.info("parameters {} and {} and {}", Array(param1, param2,param3)) 
  </code></pre>
  
  <p>which simply substitutes first parameter with array.toString and leaves rest of parameters unbound.</p>
  
  <p>The following code</p>
  
  <pre><code>log.info("parameters {} and {} and {}", Array(param1, param2,param3) : _*) 
  </code></pre>
  
  <p>doesn't compile, because of:</p>
  
  <pre><code>error: overloaded method value info with alternatives:
  (org.slf4j.Marker,java.lang.String)Unit &lt;and&gt;
  (java.lang.String,java.lang.Throwable)Unit &lt;and&gt;
  (java.lang.String,Array[java.lang.Object])Unit &lt;and&gt;
  (java.lang.String,Any)Unit
  cannot be applied to (java.lang.String, Any)
  log.info("parameters {} and {} and {}", Array(param1, param2,param3) : _*) 
  </code></pre>
  
  <p>What am I missing here?</p>