open-feature/flagd

[FEATURE] Reevaluate Logging framework and maybe switch

Open

#1,324 opened on Jun 10, 2024

 (2 comments) (5 reactions) (1 assignee)Go (118 forks)github user discovery
enhancementgood first issuehelp wanted

Repository metrics

Stars
 (925 stars)
PR merge metrics
 (Avg merge 3d 9h) (8 merged PRs in 30d)

Description

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.

Contributor guide