File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed
lib/src/environment_specific Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 1+ ## 3.0.0-nullsafety.5 - 2021-03-24
2+ ## Fixed
3+ - Use ` print ` when ` stdout ` is unavailable
4+
5+
16## 3.0.0-nullsafety.4 - 2021-03-24
27### Added
38- Flutter example
Original file line number Diff line number Diff line change @@ -5,12 +5,14 @@ import 'package:meta/meta.dart';
55import '../log_level.dart' ;
66import 'console_log_formatter_mixin.dart' ;
77import 'log_delegate.dart' ;
8+ import 'log_delegate_stub.dart' ;
89import 'message_formatting_pipeline.dart' ;
910import 'message_log_formatting_mixin.dart' ;
1011
1112/// {@nodoc}
1213@internal
13- LogDelegate createEnvironmentLogDelegate () => LogDelegateIO (io.stdout);
14+ LogDelegate createEnvironmentLogDelegate () =>
15+ io.stdout.hasTerminal ? LogDelegateIO (io.stdout) : LogDelegateStub ();
1416
1517/// {@nodoc}
1618@internal
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ description: >
33 Cross-platform html/io Logger library with simple API.
44 Manipulate with native and web console.
55 Support ascii colorize output.
6- version : 3.0.0-nullsafety.4
6+ version : 3.0.0-nullsafety.5
77repository : https://github.com/plugfox/l/tree/master
88issue_tracker : https://github.com/plugfox/l/issues
99homepage : https://github.com/plugfox/l
You can’t perform that action at this time.
0 commit comments