EventLogger now creates event logs for the creation and garbage
collection of randomly created objects.
Trying to merging my changes with Danni's.