Update prod.dart
This commit is contained in:
parent
f18929fd22
commit
0389803641
1 changed files with 1 additions and 0 deletions
|
@ -23,6 +23,7 @@ void isolateMain(int id) {
|
||||||
app.configure(configureServer).then((_) async {
|
app.configure(configureServer).then((_) async {
|
||||||
// In production, we'll want to log errors to a file.
|
// In production, we'll want to log errors to a file.
|
||||||
// Alternatives include sending logs to a service like Sentry.
|
// Alternatives include sending logs to a service like Sentry.
|
||||||
|
hierarchicalLoggingEnabled = true;
|
||||||
app.logger = new Logger('angel')
|
app.logger = new Logger('angel')
|
||||||
..onRecord.listen((rec) {
|
..onRecord.listen((rec) {
|
||||||
if (rec.error == null) {
|
if (rec.error == null) {
|
||||||
|
|
Loading…
Reference in a new issue