Update dev.dart
This commit is contained in:
parent
0389803641
commit
6497b16e07
1 changed files with 1 additions and 0 deletions
|
@ -10,6 +10,7 @@ main() async {
|
||||||
var hot = new HotReloader(() async {
|
var hot = new HotReloader(() async {
|
||||||
var app = new Angel()..lazyParseBodies = true;
|
var app = new Angel()..lazyParseBodies = true;
|
||||||
await app.configure(configureServer);
|
await app.configure(configureServer);
|
||||||
|
hierarchicalLoggingEnabled = true;
|
||||||
app.logger = new Logger('angel');
|
app.logger = new Logger('angel');
|
||||||
var sub = app.logger.onRecord.listen(prettyLog);
|
var sub = app.logger.onRecord.listen(prettyLog);
|
||||||
app.shutdownHooks.add((_) => sub.cancel());
|
app.shutdownHooks.add((_) => sub.cancel());
|
||||||
|
|
Loading…
Reference in a new issue