From cb951d468e96adc8c78f488c0f9f2d2578bcb131 Mon Sep 17 00:00:00 2001 From: Dmitry Savintsev Date: Fri, 27 Dec 2019 09:23:15 -0800 Subject: [PATCH] fix the typo in 'guarantee' (#203) --- log.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/log.go b/log.go index 0af296c..b1e7ac1 100644 --- a/log.go +++ b/log.go @@ -179,7 +179,7 @@ func ParseLevel(levelStr string) (Level, error) { // A Logger represents an active logging object that generates lines // of JSON output to an io.Writer. Each logging operation makes a single -// call to the Writer's Write method. There is no guaranty on access +// call to the Writer's Write method. There is no guarantee on access // serialization to the Writer. If your Writer is not thread safe, // you may consider a sync wrapper. type Logger struct { @@ -195,7 +195,7 @@ type Logger struct { // one. // // Each logging operation makes a single call to the Writer's Write method. There is no -// guaranty on access serialization to the Writer. If your Writer is not thread safe, +// guarantee on access serialization to the Writer. If your Writer is not thread safe, // you may consider using sync wrapper. func New(w io.Writer) Logger { if w == nil {