Skip to content

Commit

Permalink
Fix documentation comment for log.WithCallLogFunc to GRPC (#528)
Browse files Browse the repository at this point in the history
  • Loading branch information
douglaswth authored Feb 27, 2025
1 parent e0e012a commit c16c897
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion log/grpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ func WithDisableCallID() GRPCLogOption {
}
}

// WithCallLogFunc returns a HTTP middleware option that configures the logger to use
// WithCallLogFunc returns a GRPC logger option that configures the logger to use
// the given log function instead of log.Print() as default.
func WithCallLogFunc(logFunc func(ctx context.Context, keyvals ...Fielder)) GRPCLogOption {
return func(o *grpcOptions) {
Expand Down

0 comments on commit c16c897

Please sign in to comment.