mirror of
https://github.com/clearml/wexpect-venv
synced 2025-01-31 02:46:59 +00:00
[ADD] add more logging
This commit is contained in:
parent
557f759ff6
commit
40bcc2d241
2
tox.ini
2
tox.ini
@ -6,7 +6,7 @@ envlist = py{37}-spawn_pipe
|
||||
[testenv]
|
||||
description = Unit tests
|
||||
setenv =
|
||||
WEXPECT_LOGGER_LEVEL = DEBUG
|
||||
WEXPECT_LOGGER_LEVEL = SPAM
|
||||
spawn_pipe: WEXPECT_SPAWN_CLASS=SpawnPipe
|
||||
legacy_wexpect: WEXPECT_SPAWN_CLASS=legacy_wexpect
|
||||
commands =
|
||||
|
@ -341,7 +341,9 @@ class ConsoleReaderBase:
|
||||
readlen = 4000
|
||||
endPoint = self.getCoord(startOff + readlen)
|
||||
|
||||
logger.spam(f'readlen: {readlen} startCo: {startCo}')
|
||||
s = self.consout.ReadConsoleOutputCharacter(readlen, startCo)
|
||||
logger.spam(f'ReadConsoleOutputCharacter:{s}')
|
||||
self.lastRead += len(s)
|
||||
self.totalRead += len(s)
|
||||
buff.append(s)
|
||||
|
Loading…
Reference in New Issue
Block a user