proxy.golang.org : github.com/bingoohuang/rotatefile : v0.0.0-20231222012040-dee827d85b81
Package rotatefile provides a rolling logger. rotatefile is intended to be one part of a logging infrastructure. It is not an all-in-one solution, but instead is a pluggable component at the bottom of the logging stack that simply controls the files to which logs are written. rotatefile plays well with any logging package that can write to an io.Writer, including the standard library's log package. rotatefile assumes that only one process is writing to the output files. Using the same rotatefile configuration from multiple processes on the same machine will result in improper behavior. To use rotatefile with the standard library's log package, just pass it into the SetOutput function when your application starts.
Registry -
Documentation -
Download -
JSON -
codemeta.json
purl: pkg:golang/github.com/bingoohuang/rotatefile@v0.0.0-20231222012040-dee827d85b81
Published:
Indexed:
- github.com/kr/pretty v0.3.1
- github.com/kr/text v0.2.0
- github.com/rogpeppe/go-internal v1.12.0
- github.com/silentred/gid v1.0.2
- golang.org/x/sys v0.15.0
- golang.org/x/term v0.15.0
- gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c