Adding logging class.