Should be `if (log) {`