Added logging class