logline

package
v0.0.0-...-5655933 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogLine

type LogLine struct {
	Context context.Context

	Filename string // The log filename that this line was read from
	Line     string // The text of the log line itself up to the newline.
}

LogLine contains all the information about a line just read from a log.

func New

func New(ctx context.Context, filename string, line string) *LogLine

New creates a new LogLine object.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL