logging api results