extracted private method logf on assert objects