| commit | a30252cb686a21eb2d0b98132633053ec2f7f1e5 | [log] [tgz] |
|---|---|---|
| author | Mark Yen <Mook-as@users.noreply.github.com> | Thu Apr 28 00:30:50 2016 |
| committer | Mark Yen <Mook-as@users.noreply.github.com> | Thu Apr 28 00:30:50 2016 |
| tree | ba9ffe5f278466bfdcae8cf8e20d57e91784d890 | |
| parent | c323fd4fa99ef9c86af09e35f604f7e8a282d6ea [diff] | |
| parent | 5d92327bc2b17008ef8674b620f2a22d5afc21c7 [diff] |
Merge pull request #89 from hpcloud/adds-appveyor-badge adds appveyor badge to readme
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.