Add logcat.

This commit is contained in:
Simo Kinnunen
2014-01-29 22:01:22 +09:00
parent ad87d8ff10
commit 07f611b361

View File

@@ -30,6 +30,7 @@ module.exports = function(options) {
var services = {
input: null
, monkey: null
, logcat: null
}
// Show serial number in logs
@@ -229,6 +230,13 @@ module.exports = function(options) {
})
})
})
.then(function() {
log.info('Launching logcat service')
return adb.openLogcatAsync(options.serial)
.then(function(logcat) {
services.logcat = vitals.register('device:logcat', logcat)
})
})
.then(function() {
log.info('Ready for instructions')
poke()