Package Usage: go: github.com/wheelcomplex/lumberjack
Package lumberjack provides a rolling logger.
Note that this is v2.0 of lumberjack, and should be imported using gopkg.in
thusly:
The package name remains simply lumberjack, and the code resides at
https://github.com/natefinch/lumberjack under the v2.0 branch.
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 logging package 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.
1 version
Latest release: over 6 years ago
1 dependent package
View more package details: https://packages.ecosyste.ms/registries/proxy.golang.org/packages/github.com/wheelcomplex/lumberjack
Dependent Repos 1
wheelcomplex/magicgate
A multiple function gateway include http/https/dns serverSize: 316 KB - Last synced: 11 months ago - Pushed: almost 4 years ago
