smart_city v5.4.3 SmartCity.EventLog View Source
Struct defining an event log event.
const EventLog = {
"title": "",
"timestamp", "",
"source": "",
"description": "",
"dataset_id": "",
"ingestion_id": ""
}
Link to this section Summary
Functions
Returns a new SmartCity.EventLog
.
Can be created from Map
with string or atom keys.
Raises an ArgumentError
when passed invalid input
Link to this section Types
Link to this section Functions
Returns a new SmartCity.EventLog
.
Can be created from Map
with string or atom keys.
Raises an ArgumentError
when passed invalid input
Parameters
- msg: Map with string or atom keys that defines the event log metadata
Required Keys:
- title
- timestamp
- source
- description
- dataset_id