 <p>Way 1:</p> <blockquote> <ul> <li>Adv : Persistent</li> <li>Disadv : More cumbersome, you'll have to manage opening file, preserving old content, closing properly, etc.</li> </ul> </blockquote> <p>Way 2:</p> <blockquote> <ul> <li>Adv : Easy to implement</li> <li>Disadv : Not persistent</li> </ul> </blockquote> <p>Console is good to track development of App and de-bugging purposes. If you're looking at logging content from multiple users and then somehow retrieving it to further process it, then go with Way 1, else, Way 2 should suffice.</p>