forLogMessage static method
Ready when regex has matched times lines of the container's
output (standard output and error). A String is a regular
expression, matched anywhere in the line.
Implementation
static WaitStrategy forLogMessage(Pattern regex, [int times = 1]) =>
_LogMessageWait(regex is String ? RegExp(regex) : regex, times);