# LogWrite() hash function
Valid for use with hash command: HMI_Log
Causes log data to actually get written to Disk/SD card. Data from the SPLat is accumulated within the SimpleHMI client until a LogWrite
is executed. At that time:
- The decision is made as to whether to create a new file, according to the rules and any prior
NewFile
. - The file is opened and the data is written or appended to the file. Each record is terminated in
'0D '0A
(CR/LF), Windows style. - The file is closed.