platform/packages/framework/example/http2/common.dart
2020-02-15 18:13:38 -05:00

7 lines
184 B
Dart

import 'package:logging/logging.dart';
void dumpError(LogRecord rec) {
print(rec);
if (rec.error != null) print(rec.error);
if (rec.stackTrace != null) print(rec.stackTrace);
}