| Index: pkg/logging/lib/logging.dart
|
| diff --git a/pkg/logging/lib/logging.dart b/pkg/logging/lib/logging.dart
|
| index b29f076cb0a225c604c2fd61f32bca07b61c9d5b..57afd17ead5282474a5196e312b1ad4654229500 100644
|
| --- a/pkg/logging/lib/logging.dart
|
| +++ b/pkg/logging/lib/logging.dart
|
| @@ -196,8 +196,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 {
|
|
|