Open aepfli opened 5 months ago
Currently, flagd is using ZAP as a logging framework, which works great. ZAP was chosen because no logging framework was delivered with Go. Now, there is slog, which offers all the functionality needed but is a standard library package.
One of the reasons for proposing this change is https://github.com/open-feature/go-sdk-contrib/issues/522 and https://github.com/open-feature/go-sdk/issues/260. To enable better interoperability, it would make sense to evaluate and maybe switch to slog.
Requirements
Currently, flagd is using ZAP as a logging framework, which works great. ZAP was chosen because no logging framework was delivered with Go. Now, there is slog, which offers all the functionality needed but is a standard library package.
One of the reasons for proposing this change is https://github.com/open-feature/go-sdk-contrib/issues/522 and https://github.com/open-feature/go-sdk/issues/260. To enable better interoperability, it would make sense to evaluate and maybe switch to slog.