Rotating File Writer in Golang. Implements io.Writer.
wr := writer.NewWriter("app.log", 3600) // Set log Output // This will log in file rotating it after every 1 hour log.SetOutput(wr)
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.