Solved linking issue by moving definition to header file from event.cpp
Made a minor edit to use new event logging method