automation-tests/common/vendor/github.com/nxadm/tail
dependabot-preview[bot] bcade91f91 Bump github.com/onsi/ginkgo from 1.12.0 to 1.12.1
Bumps [github.com/onsi/ginkgo](https://github.com/onsi/ginkgo) from 1.12.0 to 1.12.1.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v1.12.0...v1.12.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-05-20 13:23:03 -04:00
..
ratelimiter Bump github.com/onsi/ginkgo from 1.12.0 to 1.12.1 2020-05-20 13:23:03 -04:00
util Bump github.com/onsi/ginkgo from 1.12.0 to 1.12.1 2020-05-20 13:23:03 -04:00
watch Bump github.com/onsi/ginkgo from 1.12.0 to 1.12.1 2020-05-20 13:23:03 -04:00
winfile Bump github.com/onsi/ginkgo from 1.12.0 to 1.12.1 2020-05-20 13:23:03 -04:00
.gitignore Bump github.com/onsi/ginkgo from 1.12.0 to 1.12.1 2020-05-20 13:23:03 -04:00
.travis.yml Bump github.com/onsi/ginkgo from 1.12.0 to 1.12.1 2020-05-20 13:23:03 -04:00
CHANGES.md Bump github.com/onsi/ginkgo from 1.12.0 to 1.12.1 2020-05-20 13:23:03 -04:00
Dockerfile Bump github.com/onsi/ginkgo from 1.12.0 to 1.12.1 2020-05-20 13:23:03 -04:00
LICENSE Bump github.com/onsi/ginkgo from 1.12.0 to 1.12.1 2020-05-20 13:23:03 -04:00
README.md Bump github.com/onsi/ginkgo from 1.12.0 to 1.12.1 2020-05-20 13:23:03 -04:00
appveyor.yml Bump github.com/onsi/ginkgo from 1.12.0 to 1.12.1 2020-05-20 13:23:03 -04:00
go.mod Bump github.com/onsi/ginkgo from 1.12.0 to 1.12.1 2020-05-20 13:23:03 -04:00
go.sum Bump github.com/onsi/ginkgo from 1.12.0 to 1.12.1 2020-05-20 13:23:03 -04:00
tail.go Bump github.com/onsi/ginkgo from 1.12.0 to 1.12.1 2020-05-20 13:23:03 -04:00
tail_posix.go Bump github.com/onsi/ginkgo from 1.12.0 to 1.12.1 2020-05-20 13:23:03 -04:00
tail_windows.go Bump github.com/onsi/ginkgo from 1.12.0 to 1.12.1 2020-05-20 13:23:03 -04:00

README.md

Build Status

This is repo is forked from the dormant upstream repo at hpcloud. This fork adds support for go modules, updates the dependencies, adds features and fixes bugs. Go 1.9 is the oldest compiler release supported.

Go package for tail-ing files

A Go package striving to emulate the features of the BSD tail program.

t, err := tail.TailFile("/var/log/nginx.log", tail.Config{Follow: true})
if err != nil {
    panic(err)
}

for line := range t.Lines {
    fmt.Println(line.Text)
}

See API documentation.

Log rotation

Tail comes with full support for truncation/move detection as it is designed to work with log rotation tools.

Installing

go get github.com/nxadm/tail/...

Windows support

This package needs assistance for full Windows support.