Versions in this module Expand all Collapse all v0 v0.2.3 Feb 27, 2015 v0.2.2 Feb 27, 2015 Changes in this version + var DefaultLogger = log.New(os.Stderr, "", log.LstdFlags) + var DiscardingLogger = log.New(ioutil.Discard, "", 0) + var ErrStop = fmt.Errorf("tail should now stop") + func Cleanup() + func OpenFile(name string) (file *os.File, err error) — darwin/amd64, linux/amd64, windows/amd64 + type Config struct + Follow bool + Location *SeekInfo + Logger *log.Logger + MaxLineSize int + MustExist bool + Poll bool + RateLimiter *ratelimiter.LeakyBucket + ReOpen bool + type Line struct + Err error + Text string + Time time.Time + func NewLine(text string) *Line + type SeekInfo struct + Offset int64 + Whence int + type Tail struct + Filename string + Lines chan *Line + func TailFile(filename string, config Config) (*Tail, error) + func (tail *Tail) Stop() error + func (tail *Tail) Tell() (offset int64, err error)