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
According to benchmark tests zerolog performances better than zap. This performance improvement is achieved by avoiding memory allocations and reflections, similar to zap, but with additional optimizations; according to the zerolog README.
I found that while zerolog is minimal and efficient, I think it lacks some flexibility and introduces verbosity to achieve features beyond standard logging expectations. For example, features like stack traces and strongly typed fields require specific handling. Additionally, its chaining API style and field type definitions can make it feel less intuitive.
Refactor code to use structured (and faster) logging for better integration with log analysis tools.
See https://github.com/rs/zerolog or https://github.com/uber-go/zap
Make it possible to remove / hide sensitive information from logs, such as authentication info.
The text was updated successfully, but these errors were encountered: