skipMaskTag: "MASKING_SKIPPED" = 'MASKING_SKIPPED'

A tag to be explicitly added to logged details object to skip masking for said log.

Example

const logger = new Logger();
logger.log({
message: 'This log message contains a secret keyword, but because of tag it is not masked.',
details: { skipMaskTag },
});
const error = new MosaicError({
message: 'This error message contains a secret keyword, but because of tag it is not masked.'
code: 'SOME_CODE',
details: { skipMaskTag },
});
const error = new MosaicError({
message: 'This error message contains a secret keyword, but because of tag it is not masked.'
code: 'SOME_CODE',
logInfo: { skipMaskTag },
});

Generated using TypeDoc