package
0.0.0-20221108113134-a7242382fcd9
Repository: https://github.com/lucklove/tidb-log-parser.git
Documentation: pkg.go.dev

# Functions

NewStreamParser creates new *StreamParser associated with the io.Reader.
ParseFromBytes parses a byte slice as *LogEntry slice.
ParseFromReader parses a byte stream from io.Reader as *LogEntry slice.
ParseFromString parses a string as *LogEntry slice.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

LogEntry defines an entire log entry.
LogField defines one k/v field of one log.
LogHeader defines the header of one log.
No description provided by the author
StreamParser is a parser implementation which parses bytes from io.Reader into individual *LogEntry.
UnexpectedEOLError indicates an unexpected end of line.
UnexpectedTokenError indicates an unexpected token.

# Type aliases

LogLevel is an enumeration type for the log level.
TokenType is an enumeration type for the token type.