Adding a class to help control repeated logging messages