if (msg.startsWith('Hello, world')) { log.testOK(); } else { log.testFailed(); }