fix the typo in 'guarantee' (#203)

This commit is contained in:
Dmitry Savintsev 2019-12-27 09:23:15 -08:00 committed by Olivier Poitrey
parent d2a97b366b
commit cb951d468e
1 changed files with 2 additions and 2 deletions

4
log.go
View File

@ -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 {