2 Replies
      Latest reply: Dec 1, 2016 1:48 PM by eskimo RSS
      rasikaP Level 1 Level 1 (0 points)

        os_trace_with_payload is a functin of activity trace log mechanism used which are useful during application crash. This function throws an error for xcode 7.2 and iOS 9.3 ,so could you please guide how to implement the log.

         

        Using Objective-C

        eg:

        os_trace_with_payload("logged in: %d", guid, ^(xpc_object_t xdict) { xpc_dictionary_set_string(xdict, "name", username); });