sime1 / lumberjack

lumberjack is a log rolling package for Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lumberjack

Lumberjack provides a rolling logger.

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.

This fork adds the ability to specify a different directory for the backup log files. It also changes how the logger is created, to improve the way default parameters are used.

About

lumberjack is a log rolling package for Go

License:MIT License


Languages

Language:Go 100.0%