I. WtWriteLogFile()
void WtWriteLogFile(
const char *filename, /* __FILE__ */
long linenumber, /* __LINE__ */
const char *format, /* printf-style format string */
...); /* additional parameters as required */
This function writes to a file in <WT-main-folder>\Log.
The file name is WtLogYYMM.log; that is, a new file is created
every month.
The function will add the current date and time, plus the "\r\n"
and write to the file. The record format will be:
<date><tab><time><tab>Filename><tab><linenumber><tab><message>\r\n
II. WtWriteLogFileEx()
void WtWriteLogFileEx(
const char *modifier, /* file name modifier */
const char *format, /* printf-style format string */
...); /* additional parameters as required */
This function writes to a file in <WT-main-folder>\Log.
The file name is WtLog{modifier}YYMM.log; that is, a new file
is created every month.
The function will supply the "\r\n". The record format is:
<message>\r\r
Copyright © 2019 , WhamTech, Inc. All rights reserved. This
document is provided for information purposes only and the contents hereof are
subject to change without notice. Names may be
trademarks of their respective owners.