I wanted to do loging from chai script to my log system, but not for errors, but for log output. For example, in the script, write:
log ("1234")
and get:
log: './test.chai'[5]: 1234
How can I do this? Having received information about the file and the line from which the call was made.
I wanted to do loging from chai script to my log system, but not for errors, but for log output. For example, in the script, write:
log ("1234")
and get:
log: './test.chai'[5]: 1234
How can I do this? Having received information about the file and the line from which the call was made.