summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLRPCResponse.m
diff options
context:
space:
mode:
Diffstat (limited to 'SmartDeviceLink/SDLRPCResponse.m')
-rw-r--r--SmartDeviceLink/SDLRPCResponse.m5
1 files changed, 5 insertions, 0 deletions
diff --git a/SmartDeviceLink/SDLRPCResponse.m b/SmartDeviceLink/SDLRPCResponse.m
index c996473e9..c0ad88b74 100644
--- a/SmartDeviceLink/SDLRPCResponse.m
+++ b/SmartDeviceLink/SDLRPCResponse.m
@@ -44,8 +44,13 @@ NS_ASSUME_NONNULL_BEGIN
return self;
}
+
#pragma clang diagnostic pop
+- (NSString *)description {
+ return [NSString stringWithFormat:@"%@ (%@), id: %@\n%@", self.name, self.messageType, self.correlationID, self.parameters];
+}
+
- (NSNumber<SDLInt> *)correlationID {
NSError *error = nil;
return [self.function sdl_objectForName:SDLRPCParameterNameCorrelationId ofClass:NSNumber.class error:&error];