Add logHeadlights API call. Implement core headlights logging.