Skip to content

Commit 66d2c57

Browse files
committed
Revert "Use dart.io condition to fix the import for mobile flutter apps"
This reverts commit 332be1c.
1 parent 4bb65d7 commit 66d2c57

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/logger.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ export 'src/printers/simple_printer.dart';
1717
export 'src/printers/hybrid_printer.dart';
1818
export 'src/printers/prefix_printer.dart';
1919

20-
export 'src/log_output.dart' if (dart.io) 'src/outputs/file_output.dart';
20+
export 'src/log_output.dart'
21+
if (dart.library.io) 'src/outputs/file_output.dart';
2122

2223
export 'src/log_filter.dart';
2324
export 'src/log_output.dart';

0 commit comments

Comments
 (0)