use logMask