Merge "Add macro to call event logger for errors." into mnc-dev