Listen on Level.ALL
This commit is contained in:
parent
b8a9f36746
commit
28aae83d96
1 changed files with 3 additions and 1 deletions
|
@ -11,7 +11,9 @@ main() async {
|
||||||
hierarchicalLoggingEnabled = true;
|
hierarchicalLoggingEnabled = true;
|
||||||
|
|
||||||
var hot = HotReloader(() async {
|
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());
|
var app = Angel(logger: logger, reflector: MirrorsReflector());
|
||||||
await app.configure(configureServer);
|
await app.configure(configureServer);
|
||||||
return app;
|
return app;
|
||||||
|
|
Loading…
Reference in a new issue