log = ({ action, event, eventName, data, customLog }) => {
	if (customLog && event) {
		customLog({ eventName, event, data });
	} else if (action && event) {
		// https://github.com/storybooks/storybook/tree/master/addons/actions
		action(eventName)(event, data);
	} else if (console && console.log) {
		console.log(eventName, event, data);
	}
}
This is a wrapper utility for logging messages to the
	user. This is helpful in using the same examples
	for the documentation site as for the Storybook examples.
@param  {Function} options.action function that outputs
  messages to Storybook
@param  {Event} options.event the browser event
@param  {String} options.eventName the name of the event
@param  {Object} options.data callback payload and data object
@param  {Function} options.customLog Custom logging function. This
  is helpful for Node debugging and removing console log from tests.