title: create log file using typescript in node application
body: <p>I am new in node and I need to have a <strong>log file which stores error log details</strong>
  I need guidance to make log file generated using typescript (node)</p>