Registry / utility / nxadm-tail

nxadm-tail

JSON →
library1.4.11gogounverified

nxadm/tail provides a Go library that emulates the features of the BSD tail program.

go get github.com/nxadm/tail
INSTALL
IMPORT
SIG · NXADM-TAIL
N
nxadm-tail
utilitygov1.4.11
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

tail
github.com/nxadm/tail

Tails a file and prints new lines as they appear.

package main import ( "fmt" "github.com/nxadm/tail" ) func main() { t, _ := tail.TailFile("/var/log/syslog", tail.Config{Follow: true}) for line := range t.Lines { fmt.Println(line.Text) } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.4.11latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
8
Amazon
1
Resources
nxadm-tail — go get nxadm-tail · libregistry