1- go- file-rotatelogs
1+ file-rotatelogs
22==================
33
4- [ ![ Build Status ] ( https://travis-ci.org/lestrrat/go-file-rotatelogs.png?branch=master ) ]( https://travis-ci .org/lestrrat/go-file-rotatelogs )
4+ Periodically rotates log files from within the application. Port of [ File::RotateLogs ] ( https://metacpan .org/release/File-RotateLogs ) from Perl to Go.
55
6- [ ![ GoDoc ] ( https://godoc .org/github.com/ lestrrat/go- file-rotatelogs?status.svg )] ( https://godoc .org/github.com/ lestrrat/go- file-rotatelogs )
6+ [ ![ Build Status ] ( https://travis-ci .org/lestrrat-go/ file-rotatelogs.png?branch=master )] ( https://travis-ci .org/lestrrat-go/ file-rotatelogs )
77
8+ [ ![ GoDoc] ( https://godoc.org/github.com/lestrrat-go/file-rotatelogs?status.svg )] ( https://godoc.org/github.com/lestrrat-go/file-rotatelogs )
89
9- Port of [ File::RotateLogs] ( https://metacpan.org/release/File-RotateLogs ) from Perl to Go.
1010
1111# SYNOPSIS
1212
@@ -15,8 +15,8 @@ import (
1515 " log"
1616 " net/http"
1717
18- apachelog " github.com/lestrrat/go- apache-logformat"
19- rotatelogs " github.com/lestrrat/go- file-rotatelogs"
18+ apachelog " github.com/lestrrat-go/ apache-logformat"
19+ rotatelogs " github.com/lestrrat-go/ file-rotatelogs"
2020)
2121
2222func main () {
@@ -47,17 +47,17 @@ to setup logrotate!
4747To install, simply issue a ` go get ` :
4848
4949```
50- go get github.com/lestrrat/go- file-rotatelogs
50+ go get github.com/lestrrat-go/ file-rotatelogs
5151```
5252
5353It's normally expected that this library is used with some other
5454logging service, such as the built-in ` log ` library, or loggers
55- such as ` github.com/lestrrat/go- apache-logformat ` .
55+ such as ` github.com/lestrrat-go/ apache-logformat ` .
5656
5757``` go
5858import (
5959 " log"
60- " github.com/lestrrat/go- file-rotatelogs"
60+ " github.com/lestrrat-go/ file-rotatelogs"
6161)
6262
6363func main () {
0 commit comments