Split statistics class into logging class.