Added debug logging class