commit | 66928beff07e654d08f02f592e53aaab8df488d5 | [log] [tgz] |
---|---|---|
author | Nino Kodabande <nkodabande@suse.com> | Thu Aug 03 23:07:29 2017 |
committer | GitHub <noreply@github.com> | Thu Aug 03 23:07:29 2017 |
tree | 9a7d8c0c4f4cd798de96b7d373a3b145b753a7a5 | |
parent | a927b6857fc77f4823ab37102e948be667b92bd8 [diff] |
Update .travis.yml
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}) for line := range t.Lines { fmt.Println(line.Text) }
See API documentation.
Tail comes with full support for truncation/move detection as it is designed to work with log rotation tools.
go get github.com/hpcloud/tail/...
This package needs assistance for full Windows support.