Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ash2k committed Jan 28, 2021
1 parent 3180cc1 commit a10bb53
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions zapgrpc/zapgrpc.go
Expand Up @@ -39,6 +39,7 @@ func (f optionFunc) apply(log *Logger) {

// WithDebug configures a Logger to print at zap's DebugLevel instead of
// InfoLevel.
// It only affects the Printf, Println and Print methods, which are only used in the gRPC v1 grpclog.Logger API.
// Deprecated: use grpclog.SetLoggerV2() for v2 API.
func WithDebug() Option {
return optionFunc(func(logger *Logger) {
Expand Down

0 comments on commit a10bb53

Please sign in to comment.