writeToLog
Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DEFunction Syntax
Description
Writes an output string to an ASCII or BLF logging file. Write is based on the C functionprintf.
The compiler cannot check the format string. Illegal format entries will lead to undefined results. Different to the writeToLogEx function, comment characters (”//”) and a time stamp at the beginning of each line will be printed.
Note
- The maximum length of the resulting string is limited to 1024 characters.
- As BLF is not a human readable format, the output string cannot be seen directly in a BLF logging file, but only after a conversion into an ASCII logging file.