From ee70d37b356b5b2671067fa43ac42b4b362aad82 Mon Sep 17 00:00:00 2001 From: Abhinav Gupta Date: Fri, 8 Apr 2022 10:06:24 -0700 Subject: [PATCH] Update sugar.go --- sugar.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sugar.go b/sugar.go index 3b593533f..4f9d491a0 100644 --- a/sugar.go +++ b/sugar.go @@ -61,8 +61,8 @@ func (s *SugaredLogger) Named(name string) *SugaredLogger { return &SugaredLogger{base: s.base.Named(name)} } -// WithOptions clones the base Logger, applies the supplied Options, wraps -// the resulting Logger, and returns it. It's safe to use concurrently. +// WithOptions clones the current SugaredLogger, applies the supplied Options, +// and returns the result. It's safe to use concurrently. func (s *SugaredLogger) WithOptions(opts ...Option) *SugaredLogger { base := s.base.clone() for _, opt := range opts {