Differences

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

Link to this comparison view

Next revision
Previous revision
mos:writelog [2024/09/18 01:35]
optrix created
mos:writelog [2024/09/18 01:40] (current)
optrix
Line 39: Line 39:
  
 This shifts both the start and end times of the event by the given number of seconds. This shifts both the start and end times of the event by the given number of seconds.
 +
 +<code python>
 +#Creates a 30 minute log entry, ending an hour ago.
 +oe.WriteLog("System Stopped",30*60,60*60)
 +</code>
  
 ==Options== ==Options==
Line 47: Line 52:
 |datatype|Forces a certain data type - for example, 'text'| |datatype|Forces a certain data type - for example, 'text'|
  
-Other options can be used as conditions for different output methods, and can also be used when [[substituting]] values.+Other options can be used as conditions for different output methods, and can also be used when [[mos:event_codes|substituting]] values.
  
 For example,  For example,