Skip to main content

Module cmtlog

Module cmtlog 

Source
Expand description

CmtLog format parser.

Extends CCM’s <![LOG[...]LOG]!> line format with reserved component names (__HEADER__, __SECTION__, __ITERATION__) and optional extended attributes (section, tag, whatif, iteration, color).

Uses a relaxed CCM regex that allows trailing key=“value” attributes after the standard file="" field, then post-processes entries to extract extended attributes and classify by component name.

Functions§

matches_cmtlog_record
Returns true if the line contains a CmtLog reserved component="..." attribute, indicating the file uses the CmtLog format rather than plain CCM.
parse_lines
Parse all lines as CmtLog format.