title: How to print an entire istream to standard out and string
body: <p>How do you print an istream variable to standard out. 
  [EDIT] I am trying to debug a scenario wherein I need to ouput an istream to a log file</p>