You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should probably start thinking of moving away from logrus in favor of zerolog for our Golang projects going forward. ZL is supposed to be faster, and have more functionality but IMO the big win is not having to worry about the Sirupsensirupsen import collision that happens.
The performance benefits look to be somewhat sizable (pun intended) too
Hey @wass3r, I added the PR. I do want to point out that I removed logJSON from the bot model since zerolog is JSON log by default. But if you want prettier logging similar to logrus, zerolog does have zerolog.ConsoleWriter that can achieve that by sacrificing performance (not sure by how much).
Let me know if you have any questions or concerns, thank you!
We should probably start thinking of moving away from logrus in favor of zerolog for our Golang projects going forward. ZL is supposed to be faster, and have more functionality but IMO the big win is not having to worry about the
Sirupsen
sirupsen
import collision that happens.The performance benefits look to be somewhat sizable (pun intended) too
The text was updated successfully, but these errors were encountered: