Skip to content

Commit a050a54

Browse files
committed
use logger group
1 parent f7bb917 commit a050a54

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

analytics_test.go

-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ func TestAnalytics(t *testing.T) {
4242
client.SetHeader("X-Environment-Key", EnvironmentAPIKey)
4343

4444
// Now let's create the processor
45-
4645
processor := NewAnalyticsProcessor(context.Background(), client, server.URL+"/api/v1/", &analyticsTimer, defaultLogger())
4746

4847
// and, track some features

client.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ func NewClient(apiKey string, options ...Option) *Client {
6262
}
6363

6464
if c.log == nil {
65-
c.log = defaultLogger()
65+
c.log = defaultLogger().WithGroup("flagsmith")
6666
}
6767
c.client = resty.
6868
New().

0 commit comments

Comments
 (0)