add logging class