writeLog

Syntax

writeLog(X1, [X2, X3….Xn])

Arguments

X1, X2, X3 ... Xn are the strings to be written into the log file. Each string is a line in the log file.

Details

Write a message into the log file. It must be executed by a logged-in user.

Examples

writeLog("This is a message written into the log file.")
writeLog("line1.","line2.","line3");

// Check the log file.
// output
Sun Aug 06 16:41:05 2017 <INFO> :This is a message written into the log file.
Sun Aug 06 16:50:35 2017 <INFO> :line1.
Sun Aug 06 16:50:35 2017 <INFO> :line2.
Sun Aug 06 16:50:35 2017 <INFO> :line3