Skip to content

Commit 1b5f296

Browse files
authored
fix(logger): set provider logger as sdk-go logger (#2539)
1 parent 921daf4 commit 1b5f296

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

internal/logging/logger.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ import (
77
"github.com/scaleway/scaleway-sdk-go/logger"
88
)
99

10+
func init() {
11+
logger.SetLogger(L)
12+
}
13+
1014
// Logger is the implementation of the SDK Logger interface for this terraform plugin.
1115
//
1216
// cf. https://godoc.org/github.com/scaleway/scaleway-sdk-go/logger#Logger

0 commit comments

Comments
 (0)