Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

proxy.golang.org : github.com/bingoohuang/rotatefile

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 - Source - Documentation - JSON
purl: pkg:golang/github.com/bingoohuang/rotatefile
License: MIT
Latest release: 5 months ago
First release: 5 months ago
Namespace: github.com/bingoohuang
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 13 days ago

    Loading...
    Readme
    Loading...