commit | c323fd4fa99ef9c86af09e35f604f7e8a282d6ea | [log] [tgz] |
---|---|---|
author | Mark Yen <Mook-as@users.noreply.github.com> | Wed Apr 27 23:59:03 2016 |
committer | Mark Yen <Mook-as@users.noreply.github.com> | Wed Apr 27 23:59:03 2016 |
tree | bc084e4363d81fb8241c322f83b75f33ee636442 | |
parent | fff2f2d9e03958ee916ed469d7983be66aa4eb07 [diff] | |
parent | 166d4e4826a06fd66a7c3c34e9ce381557dbc717 [diff] |
Merge pull request #88 from hpcloud/add-appveyor-for-windows Adds appveyor for windows build
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.