OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2015 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2015 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 rotationType:(RTCFileLoggerRotationType)rotationType | 60 rotationType:(RTCFileLoggerRotationType)rotationType |
61 NS_DESIGNATED_INITIALIZER; | 61 NS_DESIGNATED_INITIALIZER; |
62 | 62 |
63 // Starts writing WebRTC logs to disk if not already started. Overwrites any | 63 // Starts writing WebRTC logs to disk if not already started. Overwrites any |
64 // existing file(s). | 64 // existing file(s). |
65 - (void)start; | 65 - (void)start; |
66 | 66 |
67 // Stops writing WebRTC logs to disk. This method is also called on dealloc. | 67 // Stops writing WebRTC logs to disk. This method is also called on dealloc. |
68 - (void)stop; | 68 - (void)stop; |
69 | 69 |
| 70 #if 0 |
70 // Returns the current contents of the logs, or nil if start has been called | 71 // Returns the current contents of the logs, or nil if start has been called |
71 // without a stop. | 72 // without a stop. |
72 - (NSData *)logData; | 73 - (NSData *)logData; |
| 74 #endif |
73 | 75 |
74 @end | 76 @end |
75 | 77 |
76 NS_ASSUME_NONNULL_END | 78 NS_ASSUME_NONNULL_END |
77 | |
OLD | NEW |