Smart Log - Styles

Assuming the filter MyTrace has a pattern Trace (?<AGENT_KIND>[a-zA-Z_0-9]+) (?<INSTANCE>[a-zA-Z_0-9]+) .* which contains 2 groups tagged <AGENT_KIND> and <INSTANCE>, DVT will randomly assign a color for each unique combination (AGENT_KIND_match, INSTANCE_match).

You'll get different colors for:

Trace Master M1 sending packet ...
Trace Master M2 waiting for grant ...
Trace Slave S1 receiving packet ...
Trace Master M1 abort ...
Trace Slave S1 signal nack ...
Trace Slave S2 go to idle ...

You can manually assign colors by editing the .dvt/.dvt_log_styles file:
PATTERN_NAME=MyTrace, AGENT_KIND=Master, INSTANCE=M1, COLOR=#FF8000, FONT_STYLE=BOLD, BORDER_STYLE=NONE
PATTERN_NAME=MyTrace, AGENT_KIND=Master, INSTANCE=M2, COLOR=#008000, FONT_STYLE=BOLD, BORDER_STYLE=NONE
PATTERN_NAME=MyTrace, AGENT_KIND=Slave, INSTANCE=S1, COLOR=#800080, FONT_STYLE=BOLD, BORDER_STYLE=NONE
PATTERN_NAME=MyTrace, AGENT_KIND=Slave, INSTANCE=S2, COLOR=#8080FF, FONT_STYLE=BOLD, BORDER_STYLE=NONE

For example the first line means "If pattern MyTrace matched and AGENT_KIND is 'Master' and INSTANCE is 'M1' set color to ...".

You can use regular expressions, for example AGENT_KIND=M*.

You can specify the COLOR, the FONT_STYLE (BOLD or ITALIC), and the BORDER_STYLE (DOT or SOLID or NONE).

Related Reference

Smart Log - Filters

Run Configurations