title: Simple Iteration over case class fields
body: <p>I'm trying to write a generic method to iterate over a case class's fields :</p>
  
  <p><code>case class PriceMove(price: Double, delta: Double)</code></p>
  
  <p><code>def log(pm : PriceMove) { info("price -&gt; " + price + " delta -&gt; " + delta)}</code></p>
  
  <p>I need to make <code>log</code> able to handle any case class. 
  What needs to be the argument type for <code>log</code> to handle case classes only and the actual generic field iteration code? </p>