title: Create log file in angular 2
body: <p>I have to create a log file in angular 2 to keep tracking of function executed. Can anyone suggest some ways to append the logs in a file and the file has to store in the project folder? 
  I have tried angular2-txt and saveAs in JS, both are downloads the file for each execution of command. But i need just append all the execution command text in a file which is in the local folder.</p>
  
  <p>All the logs are to be in file and it need to be only at client side.</p>
  
  <p>Thanks in advance.</p>