Log to File - How to use                         Examples

You can use this command if you want to log any information while the task is executing.
  1. It can be very helpful to verify the execution of the task specially when task has conditional and looping commands.
  2. It will create the log file if it does not exist.
  3. You can add any text to log in the file.
  4. Adding a timestamp is optional and can prove to be helpful for time sensitive operations.