Emit events instead of direct logging.