====LogEvent==== The **LogEvent** function is part of the [[Trigger]] class. ===Parameters=== ^Parameter^Meaning^ |Message|The text message to log| |Duration|The length of the event, in seconds| |Offset|The offset - in seconds - between the end of the range and the end of the recorded event. The default is 0| ===Overview=== This function records a new line to the event log(s) using the [[mos:Welcome|Modular Output System]]. Note that the offset is //relative to the end of the [[Range|range]]//. This allows events to log when backfilling data.