Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logf ¶
type Logf struct { // Prefix is a prefix to append to each message. You can leave this // empty. Prefix string // Ellipsis is what is appended to the end of each message when // truncating. You can leave this empty. Ellipsis string // Enable specifies whether you want to turn this on or not. Enable bool // Prefixes are a list of string prefixes to match when deciding to // delete a previous entry. Prefixes []string // contains filtered or unexported fields }
Logf is a complex printing thing to do some ansi terminal escape sequence magic. FIXME: there might be bugs if Ellipsis is very big and Width is very small.
Click to show internal directories.
Click to hide internal directories.