| Index: pkg/logging/lib/logging.dart
|
| diff --git a/pkg/logging/lib/logging.dart b/pkg/logging/lib/logging.dart
|
| index 3c841dc9100bdec6483065f3d9de4a2a93d94951..28fbc2fef0f01624ea17a706adb514e8f6382432 100644
|
| --- a/pkg/logging/lib/logging.dart
|
| +++ b/pkg/logging/lib/logging.dart
|
| @@ -203,8 +203,8 @@ class Logger {
|
| Stream<LogRecord> _getStream() {
|
| if (hierarchicalLoggingEnabled || parent == null) {
|
| if (_controller == null) {
|
| - _controller = new StreamController<LogRecord>(sync: true);
|
| - _stream = _controller.stream.asBroadcastStream();
|
| + _controller = new StreamController<LogRecord>.broadcast(sync: true);
|
| + _stream = _controller.stream;
|
| }
|
| return _stream;
|
| } else {
|
|
|