title: write a log files into device using cordova
body: <p>I am using ionic/cordova to building mobile application. For debugging an application, i want to write a log file using file system and store it in to device(i.e, some where in the SDcard). Is there any way to achieve this functionality using phonegap.</p>
  
  <p>Can anybody suggest some useful links?</p>