function When known, the function object corresponding to the logged message. Declarationvar function: (any MTLFunction)? { get } See AlsoGetting execution detailsdebugLocationencoderLabelMTLFunctionLogDebugLocation