log15
Structured, composable logging for Go (by inconshreveable)
lumberjack
lumberjack is a log rolling package for Go (by natefinch)
Our great sponsors
log15 | lumberjack | |
---|---|---|
3 | 4 | |
1,101 | 4,609 | |
- | - | |
0.0 | 0.0 | |
about 1 year ago | about 1 month ago | |
Go | Go | |
GNU General Public License v3.0 or later | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
log15
Posts with mentions or reviews of log15.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-01-19.
-
GitHub - g4s8/go-metalog: Standard API for structured logging
My favourite logging API is log15-like but without log levels: tlog.Printw("message", "key", value1, "key2", value2)
-
Logger and Clean Architecture
This cracks me up: https://github.com/inconshreveable/log15 and I use log15 :)
-
My Logging Best Practices
Yes. This. Been using log15 in Go for a while now and really like it.
https://github.com/inconshreveable/log15
lumberjack
Posts with mentions or reviews of lumberjack.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-06-14.
- Is there any logging library for go that can rotate log files daily / hourly?
-
Logging with Go
I've used this before and it works well: https://github.com/natefinch/lumberjack
-
SolarWinds hack may be much worse than originally feared
Not sure if you are joking, but there is something like this as well. :P
What are some alternatives?
When comparing log15 and lumberjack you can also consider the following projects:
logrus - Structured, pluggable logging for Go.
zap - Blazing fast, structured, leveled logging in Go.
zerolog - Zero Allocation JSON Logger
logrusly - Loggly Hooks for GO Logrus logger
glog - Leveled execution logs for Go
logxi - A 12-factor app logger built for performance and happy development
logger - Minimalistic logging library for Go.
log - Structured logging package for Go.
rollingwriter - Rolling writer is an IO util for auto rolling write in go.