small python class to easily create a logging file with events