Merge "Add macro to call event logger for errors. DO NOT MERGE" into lmp-mr1-dev