Last active
July 19, 2017 18:41
-
-
Save jschwietert/a15c73456500709e34ee7eb8b4be97cb to your computer and use it in GitHub Desktop.
Avoiding typos with VictorOps unified logging & log variables.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- log.info(s”escalation [resultSummary: $resultSummary” ) | |
// prints: escalation [resultSummary: ResultSummary(…) | |
+ log.info(“escalation”, “resultSummary” -> resultSummary) | |
// prints: escalation :: [resultSummary=ResultSummary(…)] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment