Simple event logger.