fontlab_aidus_agentus.plugin.brain_log.BrainLog · declarations 001
Back to fontlab_aidus_agentus.plugin.brain_log.BrainLog
__init__
__init__(keep_lines: int = 200, print_limit: int = 50, line_chars: int = 1000, printer: Callable[[str], None] = print) -> None
feed
feed(text: str) -> None
Accept a stderr chunk; complete lines are recorded, the rest waits.
finish
finish() -> None
At EOF, keep text the brain wrote without a final newline.
new_process
new_process() -> None
A fresh brain gets its own tail and Output budget.
summary
summary(count: int = 5) -> str
The newest lines, including any not yet terminated.
tail
tail(count: int = 5) -> List[str]