Skip to content

Instantly share code, notes, and snippets.

@ishults
Created September 24, 2017 18:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ishults/adc12bf2b50bc48b129194453a9582c4 to your computer and use it in GitHub Desktop.
Save ishults/adc12bf2b50bc48b129194453a9582c4 to your computer and use it in GitHub Desktop.
Invoking the log marker
log.info(LoggingMarkers.JSON, '{"ssn": "1234567890"}') // Will mask
log.info('{"ssn": "1234567890"}') // Will NOT mask
log.info(LoggingMarkers.XML, '{"ssn": "1234567890"}') // Will try to mask, but probably won't work for this message
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment