nsmcp::LogRecordParser method stripAnsi (public)

 <instance of nsmcp::LogRecordParser[i]> 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.
[ show source ]
Show another procedure: