From 886a4a37aacb0097c2d2858fcc1f8c28c5b0513e Mon Sep 17 00:00:00 2001 From: Nick Fisher Date: Wed, 4 Jun 2025 10:46:52 +0800 Subject: [PATCH] (test) log to stdout by default when using TestHelper --- thermion_dart/test/helpers.dart | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/thermion_dart/test/helpers.dart b/thermion_dart/test/helpers.dart index 03446875..9818f684 100644 --- a/thermion_dart/test/helpers.dart +++ b/thermion_dart/test/helpers.dart @@ -2,6 +2,7 @@ import 'dart:io'; import 'package:image/image.dart' as img; import 'package:image/image.dart'; +import 'package:logging/logging.dart'; import 'package:thermion_dart/src/swift/swift_bindings.g.dart'; import 'package:thermion_dart/src/filament/src/implementation/ffi_filament_app.dart'; import 'package:thermion_dart/src/filament/src/implementation/ffi_render_target.dart'; @@ -202,6 +203,10 @@ class TestHelper { } Future setup() async { + Logger.root.onRecord.listen((record) { + print(record); + }); + await FFIFilamentApp.create(config: FFIFilamentConfig(loadResource: _loadResource)); }