Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SimpleTokenizer ¶
type SimpleTokenizer struct {
// contains filtered or unexported fields
}
SimpleTokenizer is one of implementation for Tokenizer
func NewSimpleTokenizer ¶
func NewSimpleTokenizer() *SimpleTokenizer
NewSimpleTokenizer is a constructor of SimpleTokenizer
func (*SimpleTokenizer) DisableRegex ¶
func (x *SimpleTokenizer) DisableRegex()
DisableRegex is disabler of heuristics patterns
func (*SimpleTokenizer) EnableRegex ¶
func (x *SimpleTokenizer) EnableRegex()
EnableRegex is disabler of heuristics patterns
func (*SimpleTokenizer) SetDelim ¶
func (x *SimpleTokenizer) SetDelim(d string)
SetDelim is a function set characters as delimiter
func (*SimpleTokenizer) Split ¶
func (x *SimpleTokenizer) Split(msg string) []*Token
Split is a function to split log message.
Click to show internal directories.
Click to hide internal directories.