Skip to content

Commit

Permalink
docs: fix godoc to refer to the proper envvar (#387)
Browse files Browse the repository at this point in the history
This godoc refered to an envvar used in an previous iteration of logging. This now matches the implmentation
  • Loading branch information
codyoss authored Dec 10, 2024
1 parent 2af2b07 commit dc6baf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v2/internallog/internallog.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ import (

// New returns a new [slog.Logger] default logger, or the provided logger if
// non-nil. The returned logger will be a no-op logger unless the environment
// variable GOOGLE_SDK_DEBUG_LOGGING is set.
// variable GOOGLE_SDK_GO_LOGGING_LEVEL is set.
func New(l *slog.Logger) *slog.Logger {
if l != nil {
return l
Expand Down

0 comments on commit dc6baf7

Please sign in to comment.