-
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
replace slogrus with log/slog #13
Comments
The unifi webhook just migrated to uber/zap. Besides performance, the logo won my choice for a logging library. ![]() |
Zap admittedly does have good performance, but I can guarantee logging is the least of any performance concerns. My concern here is dependency and standardisation. Their reasoning for migrating is that logrus is in maintenance mode and is therefore even more reason to replace logrus, but zap is not necessarily the obvious choice given Just to touch on performance, there isn't a meaningful difference between zap and log/slog which makes the maintenance burden worth it. Same reason every Go project uses |
but does slog have a cool gopher logo? 🤣 |
slogrus is not particularly efficient and is an unnecessary external dependency which can be avoided with log/slog.
The text was updated successfully, but these errors were encountered: