Commit c9adcfb1 authored by Leon Tappe's avatar Leon Tappe 🔥
Browse files

fix double usage of Level enum

parent 632616b0
...@@ -3,7 +3,7 @@ import 'dart:async'; ...@@ -3,7 +3,7 @@ import 'dart:async';
import 'package:blocs_astaprint/printers.dart'; import 'package:blocs_astaprint/printers.dart';
import 'package:blocs_astaprint/src/models/enums.dart'; import 'package:blocs_astaprint/src/models/enums.dart';
import 'package:http/http.dart'; import 'package:http/http.dart';
import 'package:logging/logging.dart'; import 'package:logging/logging.dart' as log;
import 'package:test/test.dart'; import 'package:test/test.dart';
import 'auth.dart'; import 'auth.dart';
...@@ -12,8 +12,8 @@ import 'common_data.dart'; ...@@ -12,8 +12,8 @@ import 'common_data.dart';
void main() { void main() {
PrintersBloc bloc; PrintersBloc bloc;
Logger.root.level = Level.ALL; log.Logger.root.level = log.Level.ALL;
Logger.root.onRecord.listen((LogRecord rec) { log.Logger.root.onRecord.listen((log.LogRecord rec) {
print('${rec.level.name}: ${rec.time}: ${rec.message}'); print('${rec.level.name}: ${rec.time}: ${rec.message}');
}); });
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment