User Tools

Site Tools


Differences

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

Link to this comparison view

write_to_logs [2019/01/09 10:28]
akuzmuk created
write_to_logs [2020/01/02 11:02] (current)
emozolyak [TRACE(message)]
Line 18: Line 18:
 The function adds the **message** with the TRACE level to communication log (**Maintenance -> WebHMI Log**). Function returns 1 if any error occurred and 0 on success. The function adds the **message** with the TRACE level to communication log (**Maintenance -> WebHMI Log**). Function returns 1 if any error occurred and 0 on success.
  
 +==== Customize log output ====
 +
 +You can implement your version of log output function with more complex formatting (e.g. table output or json output), wrapping the basics functions into your Lua code ([[useful_programs#​debug_printing |see the example]]).
 ===== Writing to message log ===== ===== Writing to message log =====
  

Page Tools