writeLog("This is a message written into the log file.")
writeLog("line1.","line2.","line3");
查看log文件:
// Check the log file.
Sun Aug 06 16:41:05 2020 <INFO> :This is a message written into the log file.
Sun Aug 06 16:50:35 2020 <INFO> :line1.
Sun Aug 06 16:50:35 2020 <INFO> :line2.
Sun Aug 06 16:50:35 2020 <INFO> :line3
DolphinDB的writeLog(X1, [X2, X3....Xn])函数可以在日志文件中写入调试想要输出的信息。
示例代码如下:
查看log文件: