mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-21 16:25:13 +02:00
Add logcat.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user