Skip to content

Commit ba5821f

Browse files
authored
Log restart events to app.og (#283)
1 parent 758aaba commit ba5821f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

webdev/lib/src/daemon/app_domain.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,9 @@ class AppDomain extends Domain {
152152
'finished': true,
153153
'progressId': 'hot.restart',
154154
});
155-
sendEvent('daemon.logMessage', {
156-
'level': 'info',
157-
'message': 'Restarted application in ${stopwatch.elapsedMilliseconds}ms'
155+
sendEvent('app.log', {
156+
'appId': _appId,
157+
'log': 'Restarted application in ${stopwatch.elapsedMilliseconds}ms'
158158
});
159159
return {
160160
'code': response.type == 'Success' ? 0 : 1,

0 commit comments

Comments
 (0)