Skip to content

Commit 8d109df

Browse files
authored
Update TriceUserManual.md
In 4.8 corrected: letter -> message
1 parent 80e9e87 commit 8d109df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/TriceUserManual.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ Trice is usable also inside interrupts and [extended format specifier possibilit
524524

525525
### 4.8. <a id='tags,-color-and-log-levels'></a>Tags, Color and Log Levels
526526

527-
You can label each Trice with a tag specifier to [colorize](#trice-tags-and-color) the output. This is free of any runtime costs because the tags are part of the Trice log format strings, which are not compiled into the target. The Trice tool will strip full lowercase tag descriptors from the format string after setting the appropriate color, making it possible to give each letter its color.
527+
You can label each Trice with a tag specifier to [colorize](#trice-tags-and-color) the output. This is free of any runtime costs because the tags are part of the Trice log format strings, which are not compiled into the target. The Trice tool will strip full lowercase tag descriptors from the format string after setting the appropriate color, making it possible to give each message its color.
528528

529529
Loggers use log levels and offer a setting like "log all above **INFO**" for example. The Trice tags can cover that but can do better: Inside package _emitter.ColorChannels_ in a single file [./internal/emitter/lineTransformerANSI.go](../internal/emitter/lineTransformerANSI.go) all common log levels defined as Trice tags alongside with user tags. The user can adjust this. The Trice tool has the `-pick` and `-ban` switches to control the display in detail. Also a `-logLevel` switch is usable to determine a display threshold as tag position inside ColorChannels.
530530

0 commit comments

Comments
 (0)