Updated logger

This commit is contained in:
thomashii@dukefirehawk.com 2022-08-17 11:10:45 +08:00
parent 4a48000bc3
commit ba26c88d6b
2 changed files with 2 additions and 1 deletions

View file

@ -16,7 +16,7 @@ void main() {
client = http.IOClient(); client = http.IOClient();
hierarchicalLoggingEnabled = true; hierarchicalLoggingEnabled = true;
logger = Logger.detached('404_hole') logger = Logger.detached('http_404_hole')
..level = Level.ALL ..level = Level.ALL
..onRecord.listen(prettyLog); ..onRecord.listen(prettyLog);

View file

@ -1,4 +1,5 @@
import 'dart:async'; import 'dart:async';
import 'package:angel3_container/mirrors.dart';
import 'package:angel3_framework/angel3_framework.dart'; import 'package:angel3_framework/angel3_framework.dart';
import 'package:angel3_framework/http.dart'; import 'package:angel3_framework/http.dart';
import 'package:http/io_client.dart' as http; import 'package:http/io_client.dart' as http;