This custom object writes the Event Rule information to the Platform log. After typing a name and selecting the Event Rule type, provide your own description and then copy and paste the source code below into the Source Code box in the Create Custom Object page.
Name: Event Logger
Type: Event Rule
Description: (type your own)
Source Code:
logger.info("Event Rule " + event.getName());
logger.debug("Event Rule " + event.getName());
logger.error("Event Rule " + event.getName());
return true;
Parameters: None
The return code indicates that the event information was written to the log successfully.
For a list of attributes for an Event object, refer to Event Object Attributes.