commit | 5d92327bc2b17008ef8674b620f2a22d5afc21c7 | [log] [tgz] |
---|---|---|
author | Nino Khodabandeh <ninok@hpe.com> | Thu Apr 28 00:16:43 2016 |
committer | Nino Khodabandeh <ninok@hpe.com> | Thu Apr 28 00:16:43 2016 |
tree | ba9ffe5f278466bfdcae8cf8e20d57e91784d890 | |
parent | c323fd4fa99ef9c86af09e35f604f7e8a282d6ea [diff] |
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.