Rotating File Writer in Golang. Implements io.Writer.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.travis.yml
README.md
writer.go
writer_test.go

README.md

Writer

Rotating File Writer in Golang. Implements io.Writer.

Build Status GoDoc

Usage

	wr := writer.NewWriter("app.log", 3600)
	
	// Set log Output
	// This will log in file rotating it after every 1 hour
	log.SetOutput(wr)   

uknth.me  ·  GitHub @uknth  ·  Twitter @uknth