Removed all legacy add_to_log functionality and now supports the new EventAPI