Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Filtered = errors.New("filtered")
Functions ¶
Types ¶
type FilterExpr ¶ added in v1.9.0
type FilterExpr struct {
// contains filtered or unexported fields
}
func NewFilterExpr ¶ added in v1.9.0
func NewFilterExpr(code string) (*FilterExpr, error)
type LTSVReadOpt ¶
type LTSVReader ¶
type LTSVReader struct {
// contains filtered or unexported fields
}
func NewLTSVReader ¶
func NewLTSVReader(r io.Reader, opt LTSVReadOpt) (*LTSVReader, error)
func (*LTSVReader) Parse ¶
func (r *LTSVReader) Parse(entry *LogEntry) (*LogEntry, error)
Parse parses one line of log file into LogEntry struct For reducing memory allocation, you can pass a LogEntry to record to reuse the given one.
func (*LTSVReader) Read ¶
func (r *LTSVReader) Read() bool
Click to show internal directories.
Click to hide internal directories.