Merge branch 'feature/add_set_cookie_tracking' into 'develop'

logging for set-cookie

See merge request BPHV_MIPS/mvm_core!123
This commit is contained in:
Pfeil, Scott Robert 2020-10-30 15:04:53 -04:00
commit 75e33cd05b

View File

@ -334,6 +334,8 @@
[trackInfo setObject:error.localizedDescription forKey:@"error"]; [trackInfo setObject:error.localizedDescription forKey:@"error"];
} }
MVMCoreLog(@"Set-Cookie %@ Value: %@", requestParameters.pageType, [(NSHTTPURLResponse *)response allHeaderFields][@"Set-Cookie"]);
[MVMCoreLoggingHandler logWithDelegateWithObject:nil withName:@"httpRequestStatus" withExtraInfo:trackInfo]; [MVMCoreLoggingHandler logWithDelegateWithObject:nil withName:@"httpRequestStatus" withExtraInfo:trackInfo];
id jsonObject = nil; id jsonObject = nil;