platform/packages/framework/example/http2/common.dart

8 lines
184 B
Dart
Raw Permalink Normal View History

2018-12-14 02:31:21 +00:00
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);
}