Skip to content

uknth/writer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Rotating File Writer in Golang. Implements io.Writer.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages