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
write_to_logs [2021/07/23 15:05] – [Writing to message log] emozolyakwrite_to_logs [2021/07/23 15:06] (current) – [Writing to message log] emozolyak
Line 30: Line 30:
 **AddInfoMessage | AddWarningMessage | AddAlertMessage**(//message//, //userId// **AddInfoMessage | AddWarningMessage | AddAlertMessage**(//message//, //userId//
  
-The functions add the message **message** with their respective level to the Messages log. **userId** is the user ID on whose behalf the message should be added. Returns 1 if an error occurred and 0 if successful+The functions add the text //message// with their respective level to the messages log. //userId// is the user ID on whose behalf the message should be added. Returns 1 if an error occurred and 0 if successful.
- +
-**** and **** - are full analogs of AddInfoMessage, writing to Warning and Alert message levels respectively+
  
write_to_logs.1627052734.txt.gz · Last modified: 2021/07/23 15:05 by emozolyak

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki