Index: talk/examples/objc/AppRTCDemo/ARDSignalingMessage.m |
diff --git a/talk/examples/objc/AppRTCDemo/ARDSignalingMessage.m b/talk/examples/objc/AppRTCDemo/ARDSignalingMessage.m |
index e9fb09aeef6833e2bb10cfaee289c0114e064bd2..dc00e8f77c3c8f0528ac7de254ae8a582f5ae00b 100644 |
--- a/talk/examples/objc/AppRTCDemo/ARDSignalingMessage.m |
+++ b/talk/examples/objc/AppRTCDemo/ARDSignalingMessage.m |
@@ -27,6 +27,7 @@ |
#import "ARDSignalingMessage.h" |
+#import "ARDLogging.h" |
#import "ARDUtilities.h" |
#import "RTCICECandidate+JSON.h" |
#import "RTCSessionDescription+JSON.h" |
@@ -52,7 +53,7 @@ static NSString const *kARDSignalingMessageTypeKey = @"type"; |
+ (ARDSignalingMessage *)messageFromJSONString:(NSString *)jsonString { |
NSDictionary *values = [NSDictionary dictionaryWithJSONString:jsonString]; |
if (!values) { |
- NSLog(@"Error parsing signaling message JSON."); |
+ ARDLog(@"Error parsing signaling message JSON."); |
return nil; |
} |
@@ -71,7 +72,7 @@ static NSString const *kARDSignalingMessageTypeKey = @"type"; |
} else if ([typeString isEqualToString:@"bye"]) { |
message = [[ARDByeMessage alloc] init]; |
} else { |
- NSLog(@"Unexpected type: %@", typeString); |
+ ARDLog(@"Unexpected type: %@", typeString); |
} |
return message; |
} |