Skip to content

Commit 5a029e6

Browse files
authored
switch default logStream from stdout to stderr (#272)
1 parent bbd66e8 commit 5a029e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

v2/internal/api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ var (
6767
backgroundContextOnce sync.Once
6868
backgroundContext netcontext.Context
6969

70-
logStream io.Writer = os.Stdout // For test hooks.
70+
logStream io.Writer = os.Stderr // For test hooks.
7171
timeNow func() time.Time = time.Now // For test hooks.
7272
)
7373

0 commit comments

Comments
 (0)