Skip to content

Commit

Permalink
Pass logger to resty client (#101)
Browse files Browse the repository at this point in the history
Co-authored-by: Matevz Mihalic <matevz.mihalic@visionect.com>
  • Loading branch information
matevzmihalic and matevzmihalic authored Oct 27, 2023
1 parent 9d405d4 commit 08a903b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ func NewClient(apiKey string, options ...Option) *Client {
for _, opt := range options {
opt(c)
}
c.client.SetLogger(c.log)

if c.config.localEvaluation {
go c.pollEnvironment(c.ctxLocalEval)
}
Expand Down

0 comments on commit 08a903b

Please sign in to comment.