open-feature / flagd

A feature flag daemon with a Unix philosophy
https://openfeature.dev
Apache License 2.0
510 stars 61 forks source link

[FEATURE] Reevaluate Logging framework and maybe switch #1324

Open aepfli opened 3 months ago

aepfli commented 3 months ago

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.