Description Usage Arguments Details Value Examples
logEvent
generates an event message with:
- the event title
- the event call
- attributes of the input object
- attributes of the output object
- date and time of the event
- function version (TODO)
- file hashes of input (TODO)
1 2 |
eventTitle |
the title of the event, from a predetermined categorization of events |
eventCall |
the function call in which the event occurred |
input |
vector of object names with an "input" role in the calling function's workflow |
notes |
a vector of strings comprising text to be incorporated into the event description. |
output |
vector of object names with an "output" role in the calling function's workflow |
Format of the event description is as follows: event | title | <eventTitle> event | time | <eventDateTime> event | call | <eventCall> (ToDo: event | functionVersion | <functionVersion>) event | input | attribute | <inputAttrName1> | <inputAttrValue1> event | output | attribute | <outputAttrName1> | <outputAttrValue1> event | end
The event message is terminated by an "end event" marker, and a blank line, and it is handed off to logMessage() to append it to the log file referenced in the global variable options("rete.logfile")
N/A A message is appended to the log file
via logMessage
.
1 2 3 4 5 | ## Not run:
logEvent(eventTitle = "Test event",
eventCall = "function1(test = \"test\")")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.