summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2018-11-26 15:18:12 -0500
committerGitHub <noreply@github.com>2018-11-26 15:18:12 -0500
commitfc82e0d418d18dab695cb80989e7170eee99cce4 (patch)
tree2410110e730cd758c81f507be189826c4bb086c8
parente8ea5d487cdf78bb1c6b73a34a1b65e32fd645a8 (diff)
parent5dfc175397b7fdd6bf18ece6f78c4f14624acff4 (diff)
downloadsdl_ios-fc82e0d418d18dab695cb80989e7170eee99cce4.tar.gz
Merge pull request #1134 from smartdevicelink/bugfix/issue_1133_add_verbose_logging_received_messages
Added verbose logging for recieved messages
-rw-r--r--SmartDeviceLink/SDLProxy.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/SmartDeviceLink/SDLProxy.m b/SmartDeviceLink/SDLProxy.m
index 4d78fcf3b..ef597fbf9 100644
--- a/SmartDeviceLink/SDLProxy.m
+++ b/SmartDeviceLink/SDLProxy.m
@@ -395,6 +395,9 @@ static float DefaultConnectionTimeout = 45.0;
NSString *functionClassName = [NSString stringWithFormat:@"SDL%@", functionName];
SDLRPCMessage *newMessage = [[NSClassFromString(functionClassName) alloc] initWithDictionary:[dict mutableCopy]];
+ // Log the RPC message
+ SDLLogV(@"Message received: %@", newMessage);
+
// Intercept and handle several messages ourselves
if ([functionName isEqualToString:SDLNameOnAppInterfaceUnregistered] || [functionName isEqualToString:SDLNameUnregisterAppInterface]) {
[self handleRPCUnregistered:dict];