Documentation ¶
Index ¶
Constants ¶
View Source
const (
// DefaultSlice is the parent slice of all unmarked content
DefaultSlice = "default"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cutter ¶
type Cutter interface { // Slice reads on the in reader line-by-line. For each line it can produce several events // on the events channel. Once the reader returns EOF the events and errchan are closed. // If anything goes wrong while reading a single error is written to errchan, but nothing is closed. Slice(in io.Reader) (events <-chan *v1.LogSliceEvent, errchan <-chan error) }
Cutter splits a log stream into slices for more structured display
var DefaultCutter Cutter = defaultCutter{}
DefaultCutter implements the default cutting behaviour
var NoCutter Cutter = noCutter{}
NoCutter does not slice the content up at all
Click to show internal directories.
Click to hide internal directories.