Listen on Level.ALL

This commit is contained in:
Tobe O 2019-05-01 19:32:55 -04:00
parent b8a9f36746
commit 28aae83d96

View file

@ -11,7 +11,9 @@ main() async {
hierarchicalLoggingEnabled = true;
var hot = HotReloader(() async {
var logger = Logger.detached('{{angel}}')..onRecord.listen(prettyLog);
var logger = Logger.detached('{{angel}}')
..level = Level.ALL
..onRecord.listen(prettyLog);
var app = Angel(logger: logger, reflector: MirrorsReflector());
await app.configure(configureServer);
return app;