EventConfig interface​
Configuration parameters to be applied to a specific event type
Signature:export interface EventConfig
Properties​
| Property | Type | Description |
|---|---|---|
| context | unknown | A free-format field that will be added to all IEvent objects (to be used in custom logic added by the user). |
| message | string | The default IEvent message to use fo when none is provided |
| name | string | The default IEvent name to be used when none is provided |
| severity | Severity | The severity of the IEvent - this value will be used to determine if we should considered the event occurrence a: - Success (event will be considered valid, no error handler action should be taken, and DO NOT report event) - Alert (event will be considered valid, and no error handler action should be taken, but report event) - Error (event will be considered invalid, error handler action will be taken, and report event) |
| source | string | The IEvent source string to be used when none is provided |
| type | EventType | The type of the IEvent (values can be defined by the user) |