Create generic wait-and-log type of checker.