4 * Here are some sanitizers to replace data fields before logging.
5 * Well, really, this just documents the expected format.
9 * template for sanitizers
10 * @param {Object} data
11 * @param {Boolean} sanitize
14 /* istanbul ignore next */
15 function _sanitizer(data
, sanitize
= true) {
18 if (undefined) { // eslint-disable-line no-constant-condition
21 if (unclean
&& sanitize
) {