nsmcp::LogRecordParser method stripAnsi (public)
<instance of nsmcp::LogRecordParser> stripAnsi message
Defined in /usr/local/ns/tcl/nsmcp/log-record.tcl
Remove recognized ANSI formatting from a system-log message. Initialize the color-code map lazily; return unformatted input without further transformation.
- Parameters:
- message (required)
- Diagnostic message text.
- Returns:
- The message with recognized ANSI codes removed.
- Testcases:
- No testcase defined.
![[i]](/resources/acs-subsite/ZoomIn16.gif)