Skip to content

@vttforge/testing / container / foundryContainerLogs

Function: foundryContainerLogs() ​

foundryContainerLogs(name, tail?): string

The last log lines from a container, by name.

FoundryContainer#logs is the same thing with the name filled in. Reach for this one when the boot itself failed, because then there is no handle and the logs are the only account of what went wrong.

Parameters ​

name ​

string

tail? ​

number = 40

Returns ​

string

MIT licensed.