Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(43)

Issue 1217473011: AppRTCDemo file logging. (Closed)

Created:
5 years, 5 months ago by tkchin_webrtc
Modified:
5 years, 5 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Base URL:
https://chromium.googlesource.com/external/webrtc@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

AppRTCDemo file logging. Adds logging macros to log logs to a file. Undeletes CircularFileStream for that purpose. BUG= R=jiayl@webrtc.org, pbos@webrtc.org Committed: https://chromium.googlesource.com/external/webrtc/+/2d3b7e2173c672dca5d97d9a5c8ab4217652c442

Patch Set 1 : #

Total comments: 17

Patch Set 2 : Unit tests #

Patch Set 3 : CR comments #

Patch Set 4 : Cleanup #

Total comments: 3

Patch Set 5 : Default to Info #

Patch Set 6 : Rebase #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+819 lines, -223 lines) Patch
A talk/app/webrtc/objc/RTCFileLogger.mm View 1 2 3 4 1 chunk +230 lines, -0 lines 1 comment Download
A talk/app/webrtc/objc/public/RTCFileLogger.h View 1 2 3 4 1 chunk +72 lines, -0 lines 0 comments Download
A talk/examples/objc/.clang-format View 1 chunk +1 line, -0 lines 0 comments Download
M talk/examples/objc/AppRTCDemo/ARDAppClient.m View 11 chunks +18 lines, -12 lines 0 comments Download
M talk/examples/objc/AppRTCDemo/ARDAppEngineClient.m View 4 chunks +6 lines, -5 lines 0 comments Download
M talk/examples/objc/AppRTCDemo/ARDSDPUtils.m View 4 chunks +5 lines, -4 lines 0 comments Download
M talk/examples/objc/AppRTCDemo/ARDSignalingMessage.m View 3 chunks +3 lines, -2 lines 0 comments Download
D talk/examples/objc/AppRTCDemo/ARDUtilities.h View 1 chunk +0 lines, -52 lines 0 comments Download
D talk/examples/objc/AppRTCDemo/ARDUtilities.m View 1 chunk +0 lines, -110 lines 0 comments Download
M talk/examples/objc/AppRTCDemo/ARDWebSocketChannel.m View 8 chunks +12 lines, -11 lines 0 comments Download
M talk/examples/objc/AppRTCDemo/RTCICECandidate+JSON.m View 2 chunks +3 lines, -1 line 0 comments Download
A talk/examples/objc/AppRTCDemo/common/ARDLogging.h View 1 2 3 1 chunk +88 lines, -0 lines 0 comments Download
A + talk/examples/objc/AppRTCDemo/common/ARDLogging.mm View 1 2 3 1 chunk +34 lines, -16 lines 0 comments Download
A + talk/examples/objc/AppRTCDemo/common/ARDUtilities.h View 0 chunks +-1 lines, --1 lines 0 comments Download
A + talk/examples/objc/AppRTCDemo/common/ARDUtilities.m View 5 chunks +5 lines, -4 lines 0 comments Download
M talk/examples/objc/AppRTCDemo/ios/ARDAppDelegate.m View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M talk/examples/objc/AppRTCDemo/ios/ARDVideoCallViewController.m View 3 chunks +5 lines, -4 lines 0 comments Download
M talk/libjingle.gyp View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download
M talk/libjingle_examples.gyp View 1 3 chunks +29 lines, -3 lines 0 comments Download
M webrtc/base/BUILD.gn View 1 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/base/base.gyp View 1 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/base/bitbuffer_unittest.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/base/stream.h View 1 chunk +33 lines, -0 lines 0 comments Download
M webrtc/base/stream.cc View 1 chunk +107 lines, -0 lines 0 comments Download
M webrtc/base/stream_unittest.cc View 1 2 3 2 chunks +160 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (6 generated)
tkchin_webrtc
5 years, 5 months ago (2015-07-01 20:51:33 UTC) #5
pbos-webrtc
lgtm, thanks
5 years, 5 months ago (2015-07-02 07:41:44 UTC) #6
tkchin_webrtc
On 2015/07/02 07:41:44, pbos-webrtc wrote: > lgtm, thanks thanks pbos! ping jiayl@ for webrtc/base/* OWNERS.
5 years, 5 months ago (2015-07-06 18:11:16 UTC) #7
jiayl2
https://codereview.chromium.org/1217473011/diff/60001/talk/app/webrtc/objc/RTCFileLogger.mm File talk/app/webrtc/objc/RTCFileLogger.mm (right): https://codereview.chromium.org/1217473011/diff/60001/talk/app/webrtc/objc/RTCFileLogger.mm#newcode71 talk/app/webrtc/objc/RTCFileLogger.mm:71: NSString *defaultFilePath = [documentsDirPath stringByAppendingPathComponent:kDefaultLogFileName]; Is this file private ...
5 years, 5 months ago (2015-07-06 18:18:14 UTC) #8
tkchin
https://codereview.chromium.org/1217473011/diff/60001/talk/app/webrtc/objc/RTCFileLogger.mm File talk/app/webrtc/objc/RTCFileLogger.mm (right): https://codereview.chromium.org/1217473011/diff/60001/talk/app/webrtc/objc/RTCFileLogger.mm#newcode71 talk/app/webrtc/objc/RTCFileLogger.mm:71: NSString *defaultFilePath = [documentsDirPath stringByAppendingPathComponent:kDefaultLogFileName]; On 2015/07/06 18:18:14, jiayl2 ...
5 years, 5 months ago (2015-07-06 20:36:50 UTC) #10
jiayl2
https://codereview.chromium.org/1217473011/diff/60001/webrtc/base/stream.cc File webrtc/base/stream.cc (right): https://codereview.chromium.org/1217473011/diff/60001/webrtc/base/stream.cc#newcode609 webrtc/base/stream.cc:609: position_ = marked_position_; On 2015/07/06 20:36:50, tkchin wrote: > ...
5 years, 5 months ago (2015-07-06 20:55:22 UTC) #11
jiayl2
https://codereview.chromium.org/1217473011/diff/60001/talk/app/webrtc/objc/RTCFileLogger.mm File talk/app/webrtc/objc/RTCFileLogger.mm (right): https://codereview.chromium.org/1217473011/diff/60001/talk/app/webrtc/objc/RTCFileLogger.mm#newcode103 talk/app/webrtc/objc/RTCFileLogger.mm:103: rtc::LogMessage::AddLogToStream(_logSink.get(), rtc::LS_INFO); On 2015/07/06 20:36:50, tkchin wrote: > On ...
5 years, 5 months ago (2015-07-06 20:57:56 UTC) #12
tkchin_webrtc
PTAL https://codereview.webrtc.org/1217473011/diff/60001/talk/app/webrtc/objc/RTCFileLogger.mm File talk/app/webrtc/objc/RTCFileLogger.mm (right): https://codereview.webrtc.org/1217473011/diff/60001/talk/app/webrtc/objc/RTCFileLogger.mm#newcode103 talk/app/webrtc/objc/RTCFileLogger.mm:103: rtc::LogMessage::AddLogToStream(_logSink.get(), rtc::LS_INFO); On 2015/07/06 20:57:56, jiayl2 wrote: > ...
5 years, 5 months ago (2015-07-07 23:30:10 UTC) #13
jiayl2
https://codereview.webrtc.org/1217473011/diff/60001/talk/app/webrtc/objc/RTCFileLogger.mm File talk/app/webrtc/objc/RTCFileLogger.mm (right): https://codereview.webrtc.org/1217473011/diff/60001/talk/app/webrtc/objc/RTCFileLogger.mm#newcode103 talk/app/webrtc/objc/RTCFileLogger.mm:103: rtc::LogMessage::AddLogToStream(_logSink.get(), rtc::LS_INFO); On 2015/07/07 23:30:10, tkchin_webrtc wrote: > On ...
5 years, 5 months ago (2015-07-08 16:32:13 UTC) #14
tkchin_webrtc
https://codereview.webrtc.org/1217473011/diff/60001/talk/app/webrtc/objc/RTCFileLogger.mm File talk/app/webrtc/objc/RTCFileLogger.mm (right): https://codereview.webrtc.org/1217473011/diff/60001/talk/app/webrtc/objc/RTCFileLogger.mm#newcode103 talk/app/webrtc/objc/RTCFileLogger.mm:103: rtc::LogMessage::AddLogToStream(_logSink.get(), rtc::LS_INFO); On 2015/07/08 16:32:12, jiayl2 wrote: > On ...
5 years, 5 months ago (2015-07-08 18:18:23 UTC) #15
jiayl2
https://codereview.webrtc.org/1217473011/diff/120001/webrtc/base/stream.cc File webrtc/base/stream.cc (right): https://codereview.webrtc.org/1217473011/diff/120001/webrtc/base/stream.cc#newcode520 webrtc/base/stream.cc:520: CircularFileStream::CircularFileStream(size_t max_size) On 2015/07/08 18:18:23, tkchin_webrtc wrote: > On ...
5 years, 5 months ago (2015-07-08 18:26:14 UTC) #16
tkchin
On 2015/07/08 18:26:14, jiayl2 wrote: > https://codereview.webrtc.org/1217473011/diff/120001/webrtc/base/stream.cc > File webrtc/base/stream.cc (right): > > https://codereview.webrtc.org/1217473011/diff/120001/webrtc/base/stream.cc#newcode520 > ...
5 years, 5 months ago (2015-07-14 17:53:00 UTC) #17
jiayl2
lgtm
5 years, 5 months ago (2015-07-14 17:55:18 UTC) #18
tkchin_webrtc
Committed patchset #6 (id:160001) manually as 2d3b7e2173c672dca5d97d9a5c8ab4217652c442 (presubmit successful).
5 years, 5 months ago (2015-07-14 19:56:02 UTC) #19
henrika_webrtc
5 years, 5 months ago (2015-07-15 08:36:01 UTC) #21
Message was sent while issue was closed.
Nice work!

https://codereview.webrtc.org/1217473011/diff/160001/talk/app/webrtc/objc/RTC...
File talk/app/webrtc/objc/RTCFileLogger.mm (right):

https://codereview.webrtc.org/1217473011/diff/160001/talk/app/webrtc/objc/RTC...
talk/app/webrtc/objc/RTCFileLogger.mm:116: // TODO(tkchin): Log thead info on
iOS, currently this doesn't do anything.
It actually does now :-) Please try it out.

Powered by Google App Engine
This is Rietveld 408576698