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 |
11 #import <Foundation/Foundation.h> | 11 #import <Foundation/Foundation.h> |
12 | 12 |
13 #import "webrtc/base/objc/RTCMacros.h" | 13 #import <WebRTC/RTCMacros.h> |
14 | 14 |
15 typedef NS_ENUM(NSUInteger, RTCFileLoggerSeverity) { | 15 typedef NS_ENUM(NSUInteger, RTCFileLoggerSeverity) { |
16 RTCFileLoggerSeverityVerbose, | 16 RTCFileLoggerSeverityVerbose, |
17 RTCFileLoggerSeverityInfo, | 17 RTCFileLoggerSeverityInfo, |
18 RTCFileLoggerSeverityWarning, | 18 RTCFileLoggerSeverityWarning, |
19 RTCFileLoggerSeverityError | 19 RTCFileLoggerSeverityError |
20 }; | 20 }; |
21 | 21 |
22 typedef NS_ENUM(NSUInteger, RTCFileLoggerRotationType) { | 22 typedef NS_ENUM(NSUInteger, RTCFileLoggerRotationType) { |
23 RTCFileLoggerTypeCall, | 23 RTCFileLoggerTypeCall, |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 - (void)stop; | 68 - (void)stop; |
69 | 69 |
70 // Returns the current contents of the logs, or nil if start has been called | 70 // Returns the current contents of the logs, or nil if start has been called |
71 // without a stop. | 71 // without a stop. |
72 - (NSData *)logData; | 72 - (NSData *)logData; |
73 | 73 |
74 @end | 74 @end |
75 | 75 |
76 NS_ASSUME_NONNULL_END | 76 NS_ASSUME_NONNULL_END |
77 | 77 |
OLD | NEW |