title: Print objects and arrays in console log dynamically
body: <p>I'm building a logger service. First argument is &quot;msg&quot; string and the second one in array of parameters (can be array or objects)
  How can i iterate this parameters array and print in the console so the object/array can be seen\expand\collapse in the console?</p>
  <p>For example if it's not dynamic i would do something like this:</p>
  <pre><code>console.log('str', obj1, obj2, obj3)
  </code></pre>