Adding a logging class