Private setup methods for AndroidDevice.

This commit is contained in:
Ian Fischer
2015-09-15 16:17:47 -07:00
parent 5678c12433
commit b72d67a8fe
3 changed files with 149 additions and 1 deletions

View File

@@ -14,6 +14,12 @@ void main(List<String> args) {
Logger.root.level = Level.WARNING;
Logger.root.onRecord.listen((LogRecord rec) {
print('${rec.level.name}: ${rec.message}');
if (rec.error != null) {
print(rec.error);
}
if (rec.stackTrace != null) {
print(rec.stackTrace);
}
});
Map<String, CommandHandler> handlers = {};