title: jinja2 print to console or logging
body: <p>I'm kind of new to Jinja2 and am wondering if there is a way to make the templates, while being generated, to print to the console or redirect some output to some kind of stream?</p>
  
  <p>Since Jinja2 templates may have logic inside, I think it would be useful sometimes to log some info in to some kind of logfile, or at least get printed to console.</p>
  
  <p>Is this possible or am I just talking garbage?</p>