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
Zap is opinionated. It would be a great idea to support a generic logging interface (e.g. with github.com/go-logr/logr or log/slog) instead forcing users to use Zap.
The text was updated successfully, but these errors were encountered:
The main benefit of zap function and methods is that they allocate as little as possible (zerolog is even better in that regard, but has some additional quirks). slog is not so efficient, and we really need performant logs.
I know zap is not something everyone wants, but COSI runtime already makes several opinionated decisions, so there that.
Zap is opinionated. It would be a great idea to support a generic logging interface (e.g. with github.com/go-logr/logr or log/slog) instead forcing users to use Zap.
The text was updated successfully, but these errors were encountered: