How to get the test-report for a test running in a terminal with nodejs and wd?

I am using wd driver ( ) for my appium test.
and running it with the help of node command in a terminal. Now appium print all the logs in a appium running terminal. How I can get the test-report about this test to identify that it is successful or failed ?