Documentation
¶
Index ¶
Constants ¶
View Source
const (
// FileFormatJSONLog is the constant for this special/sample file format.
FileFormatJSONLog = "jsonlog"
)
Variables ¶
This section is empty.
Functions ¶
func IsErrLogReadingFailed ¶
IsErrLogReadingFailed checks if an err is of ErrLogReadingFailed type.
func NewJSONLogFileFormat ¶
func NewJSONLogFileFormat(schemaName string) fileformat.FileFormat
NewJSONLogFileFormat creates a new FileFormat for this special/sample jsonlog.
Types ¶
type ErrLogReadingFailed ¶
type ErrLogReadingFailed string
ErrLogReadingFailed indicates the reader fails to read out a complete non-corrupted log line. This is a fatal, non-continuable error.
func (ErrLogReadingFailed) Error ¶
func (e ErrLogReadingFailed) Error() string
Click to show internal directories.
Click to hide internal directories.