Skip to content
This repository was archived by the owner on Feb 12, 2025. It is now read-only.

Commit 50e09bb

Browse files
authored
Update comment to reference the correct env var (#664)
The correct environment variable which is used for initializing the default logger is `AZURE_GO_SDK_LOG_LEVEL` not `AZURE_GO_AUTOREST_LOG_LEVEL`
1 parent a3b4519 commit 50e09bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

logger/logger.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ var Instance Writer
182182
// default log level
183183
var logLevel = LogNone
184184

185-
// Level returns the value specified in AZURE_GO_AUTOREST_LOG_LEVEL.
185+
// Level returns the value specified in AZURE_GO_SDK_LOG_LEVEL.
186186
// If no value was specified the default value is LogNone.
187187
// Custom loggers can call this to retrieve the configured log level.
188188
func Level() LevelType {

0 commit comments

Comments
 (0)