podman/vendor/github.com/nxadm/tail
dependabot-preview[bot] cdd1f2bbaf
Bump github.com/onsi/gomega from 1.10.0 to 1.10.1
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.10.0 to 1.10.1.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.10.0...v1.10.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-05-21 07:35:42 -04:00
..
ratelimiter Bump github.com/onsi/gomega from 1.10.0 to 1.10.1 2020-05-21 07:35:42 -04:00
util Bump github.com/onsi/gomega from 1.10.0 to 1.10.1 2020-05-21 07:35:42 -04:00
watch Bump github.com/onsi/gomega from 1.10.0 to 1.10.1 2020-05-21 07:35:42 -04:00
winfile Bump github.com/onsi/gomega from 1.10.0 to 1.10.1 2020-05-21 07:35:42 -04:00
.gitignore Bump github.com/onsi/gomega from 1.10.0 to 1.10.1 2020-05-21 07:35:42 -04:00
.travis.yml Bump github.com/onsi/gomega from 1.10.0 to 1.10.1 2020-05-21 07:35:42 -04:00
CHANGES.md Bump github.com/onsi/gomega from 1.10.0 to 1.10.1 2020-05-21 07:35:42 -04:00
Dockerfile Bump github.com/onsi/gomega from 1.10.0 to 1.10.1 2020-05-21 07:35:42 -04:00
LICENSE Bump github.com/onsi/gomega from 1.10.0 to 1.10.1 2020-05-21 07:35:42 -04:00
README.md Bump github.com/onsi/gomega from 1.10.0 to 1.10.1 2020-05-21 07:35:42 -04:00
appveyor.yml Bump github.com/onsi/gomega from 1.10.0 to 1.10.1 2020-05-21 07:35:42 -04:00
go.mod Bump github.com/onsi/gomega from 1.10.0 to 1.10.1 2020-05-21 07:35:42 -04:00
go.sum Bump github.com/onsi/gomega from 1.10.0 to 1.10.1 2020-05-21 07:35:42 -04:00
tail.go Bump github.com/onsi/gomega from 1.10.0 to 1.10.1 2020-05-21 07:35:42 -04:00
tail_posix.go Bump github.com/onsi/gomega from 1.10.0 to 1.10.1 2020-05-21 07:35:42 -04:00
tail_windows.go Bump github.com/onsi/gomega from 1.10.0 to 1.10.1 2020-05-21 07:35:42 -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.