Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Clarified the use of Markers.

...

Code Block
languagetext
linenumberstrue
%replace(%replace(%marker){'\t','\\\\t'}){'\n','\\\\n'}
  • Currently: Markers not usedwritten to logs
  • Affects: future ONAP and ONAP-based components.
  • Why
    • Useful and commonplace.
    • A more appropriate way of indicating metricaudit and other event types (though that change isn't proposed here).
    • There's a reasonable expectation on the part of current and potential ONAP developers that Markers be available.
  • Notes:
    • This example also includes tab and newline replacement. 
    • See Machine-readable output.

...

For example (tab-separated, MDCs, newlines, a nested exception, but no markersa marker, newlines self-consciously added for readability):

...