title: Log from inside php functions using ChromeLogger and ChromePHP
body: <p>I'm making a foray into php (wordpress) and have set up ChromeLogger (<a href="http://craig.is/writing/chrome-logger" rel="nofollow">http://craig.is/writing/chrome-logger</a>) and ChromePHP (<a href="https://github.com/ccampbell/chromephp" rel="nofollow">https://github.com/ccampbell/chromephp</a>).</p>
  
  <p>I can now log ok from my templates, but i'd really like to be able to log to the console from inside php functions too (like in js), which is very useful for debugging.  In this case my function is in </p>
  
  <p><code>mywordpressfolder/wp-content/themes/mytheme/functions.php</code></p>
  
  <p>Like i say i'm new to php and am not sure how it all fits together with the browser and whether this is possible.  Is it?  If so, how?</p>
  
  <p>thanks, max</p>