Documentation ¶
Overview ¶
The check functions are used not only for testing but also for evaluating id lists
Package emit is responsible for generating a string slice for each line. The substrings are optionally prefix, timestamp, several content substrings and postfix. Each substring can contain its own color channel as prefix ("col:"). The colors are converted later inside the disp.Print() function.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // Prefix is a (configurable) string added to each line end Prefix = "" // Postfix is a (configurable) string added to each line end Postfix = "\n" )
Functions ¶
func LineCollect ¶
func LineCollect(s string)
LineCollect collects s into an internal line substring slice When s ends with a newline it is trimmed and the slice goes to Out and is discarded afterwards
func ScCheckList ¶
ScCheckList does log the id list with a dataset
func Trice ¶
Trice emits one trice. The byte slice 't' is a trice package. The start byte is 0xeb. The ID can be 0, in that case only the data payload is saved If b is not empty, the start byte in buffer b is 0xc0. The byte slice b contains a 8 byte header, a 2 byte len-1 value and and len buffer bytes. b is used for long runtime strings, when the format string is "%s".
Types ¶
This section is empty.