From ba26c88d6bd1a9a752d456675ba7f0adab60969d Mon Sep 17 00:00:00 2001 From: "thomashii@dukefirehawk.com" Date: Wed, 17 Aug 2022 11:10:45 +0800 Subject: [PATCH] Updated logger --- packages/framework/test/http_404_hole_test.dart | 2 +- packages/framework/test/req_shutdown_test.dart | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/framework/test/http_404_hole_test.dart b/packages/framework/test/http_404_hole_test.dart index 0097281e..0742b8ff 100644 --- a/packages/framework/test/http_404_hole_test.dart +++ b/packages/framework/test/http_404_hole_test.dart @@ -16,7 +16,7 @@ void main() { client = http.IOClient(); hierarchicalLoggingEnabled = true; - logger = Logger.detached('404_hole') + logger = Logger.detached('http_404_hole') ..level = Level.ALL ..onRecord.listen(prettyLog); diff --git a/packages/framework/test/req_shutdown_test.dart b/packages/framework/test/req_shutdown_test.dart index d4a00627..e5382464 100644 --- a/packages/framework/test/req_shutdown_test.dart +++ b/packages/framework/test/req_shutdown_test.dart @@ -1,4 +1,5 @@ import 'dart:async'; +import 'package:angel3_container/mirrors.dart'; import 'package:angel3_framework/angel3_framework.dart'; import 'package:angel3_framework/http.dart'; import 'package:http/io_client.dart' as http;