Configuring a logger for the go-sdk
Logging is the act of keeping a log. A log (in this case) records events that occur in software.
Subject to many opinions and differing principles of best practice, the best thing we could do for the go-sdk
was
to create an implementation as open & configurable as possible. To achieve this, we've integrated logr,
this allows the use of any logger that conforms to its API.
Applications may already have a chosen logging solution at the point of introducing openfeature
. An integration with logr
may already exist for their chosen solution (integrations exist for many of the popular logger packages in go). If not, they could write their own integration.