platform/example/http2/common.dart
2018-12-13 21:31:21 -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);
}