User Tools

Site Tools


write_to_logs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
write_to_logs [2020/01/02 11:02] – [TRACE(message)] emozolyakwrite_to_logs [2021/07/23 14:44] – [ERROR(message)] emozolyak
Line 1: Line 1:
  
 ===== Writing to communication log ===== ===== Writing to communication log =====
 +
  
 ==== ERROR(message) ==== ==== ERROR(message) ====
  
-The function adds the **message** with the ERROR level to communication log (**Maintenance -> WebHMI Log**). Function returns 1 if any error occurred and 0 on success.+There are 4 functions for writing to the communication log
 +**INFO, ERROR, DEBUG, TRACE** 
 + 
 +Functions return '1if any error occurred and '0on success. 
 + 
  
 ==== INFO(message) ==== ==== INFO(message) ====
write_to_logs.txt · Last modified: 2021/07/23 15:06 by emozolyak

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki