One way of enabling end to end tracing is by using supportability-related APIs defined in the SUPProxyClient library.
+ (void) setTraceLevel: (Level) value_in
+(void)startTrace;
+(void)stopTrace;
+(void) uploadTraceWithError:(NSError**) error
@try{
[SDMRequestBuilder setTraceLevel:HIGH];
}
@catch (NSException *exception) {
NSLog(@"excption: %@",[exception description]);
@try{
[ODPRequest startTrace];
}
@catch (NSException *exception) {
NSLog(@"Exception: %@",[exception description]);
@try{
[ODPRequest stopTrace];
}
@catch(NSException *exception){
NSLog(@"Exception: %@",[exception description]);
@try{
NSError* error = nil;
[ODPRequest uploadTraceWithError:&error];
}