Log events to an array (reference)
