Add base class for EventLogging

Change-Id: I3548d6b22696a3097e976daff1e1c9711790e8e6