pushToEventlog
Push one or more events to the eventlog.
Signature
Section titled “Signature”pushToEventlog(events)
events(dict | list[dict] | str)
Inputs
Section titled “Inputs”events: Single event dict, list of event dicts, or a file path with events.
Examples
Section titled “Examples”Single event
Section titled “Single event”log.pushToEventlog({"timestamp": "2024-01-01T00:00:00Z", "message": "Hello"})Multiple events
Section titled “Multiple events”log.pushToEventlog([ {"timestamp": "2024-01-01T00:00:00Z", "message": "Hello"}, {"timestamp": "2024-01-01T01:00:00Z", "message": "World"},])