Package Usage: go: gopkg.in/natefinch/lumberjack.v1
Package lumberjack provides a rolling logger.
Lumberjack 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.
Lumberjack plays well with any logger that can write to an io.Writer,
including the standard library's log package.
Lumberjack assumes that only one process is writing to the output files.
Using the same lumberjack configuration from multiple processes on the same
machine will result in improper behavior.
To use lumberjack with the standard library's log package, just pass it into
the SetOutput function when your application starts.
0 versions
Latest release: about 1 year ago
3 dependent packages
View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/gopkg.in/natefinch/lumberjack.v1