A class I created to handle logging in Java