loghlp: don't mask by default, but provide MaskFlags and UnmaskFlags