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

Issue 12334093: pkg/logging: BREAKING: move to stream-based event model (Closed)

Created:
7 years, 9 months ago by kevmoo-old
Modified:
7 years, 9 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

LoggerEvents get on -> Stream<LogRecord> get onRecord Removed LoggerEvents, LoggerHandlerList, LoggerHandler BUG= Committed: https://code.google.com/p/dart/source/detail?r=19187

Patch Set 1 #

Patch Set 2 : #

Total comments: 1

Patch Set 3 : keep old API, but deprecated #

Total comments: 11

Patch Set 4 : addressing comments #

Patch Set 5 : rename test (must end in _test) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -46 lines) Patch
pkg/logging/lib/logging.dart View 1 2 3 4 5 chunks +59 lines, -31 lines 0 comments Download
pkg/logging/pubspec.yaml View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
pkg/logging/test/logging_deprecated_test.dart View 1 2 3 4 0 chunks +-1 lines, --1 lines 0 comments Download
pkg/logging/test/logging_test.dart View 6 chunks +16 lines, -16 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
kevmoo-old
Bringing pkg/logging into the future All tests pass. I couldn't find someone who seems to ...
7 years, 9 months ago (2013-02-26 16:56:17 UTC) #1
Siggi Cherem (dart-lang)
https://codereview.chromium.org/12334093/diff/2001/pkg/logging/lib/logging.dart File pkg/logging/lib/logging.dart (right): https://codereview.chromium.org/12334093/diff/2001/pkg/logging/lib/logging.dart#newcode109 pkg/logging/lib/logging.dart:109: Stream<LogRecord> get onRecord => _getStream(); can we keep the ...
7 years, 9 months ago (2013-02-26 18:51:19 UTC) #2
kevmoo-old
Added back the old IMPL with a generous amount of @deprecated I copied the old ...
7 years, 9 months ago (2013-02-26 19:41:36 UTC) #3
Siggi Cherem (dart-lang)
Thanks Kevin. Looks great. Just a bunch of little style nits below. If you want ...
7 years, 9 months ago (2013-02-26 21:11:23 UTC) #4
kevmoo-old
If you have it all local, please feel free to update it. As long as ...
7 years, 9 months ago (2013-02-26 21:39:00 UTC) #5
Siggi Cherem (dart-lang)
Committed patchset #5 manually as r19187 (presubmit successful).
7 years, 9 months ago (2013-02-28 00:05:15 UTC) #6
Siggi Cherem (dart-lang)
7 years, 9 months ago (2013-02-28 00:08:32 UTC) #7
Message was sent while issue was closed.
FYI - I tried to upload the changes here, but I wasn't allowed to because Kevin
owns the original CL.

I did the changes I mentioned in the comments and renamed the test file (it must
end in _test, otherwise our bots wont run it).

You can see the final version here:

https://code.google.com/p/dart/source/detail?r=19187

Powered by Google App Engine
This is Rietveld 408576698