Skip to content

Commit c16c897

Browse files
authored
Fix documentation comment for log.WithCallLogFunc to GRPC (#528)
1 parent e0e012a commit c16c897

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

log/grpc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ func WithDisableCallID() GRPCLogOption {
243243
}
244244
}
245245

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

0 commit comments

Comments
 (0)