There was an error while loading. Please reload this page.
1 parent 50ffd2b commit e027a83Copy full SHA for e027a83
writer.go
@@ -29,7 +29,7 @@ type syncWriter struct {
29
// This syncer can be the call to writer's Write method is not thread safe.
30
// Note that os.File Write operation is using write() syscall which is supposed
31
// to be thread-safe on POSIX systems. So there is no need to use this with
32
-// os.File on such systems as zerolog guaranties to issue a single Write call
+// os.File on such systems as zerolog guarantees to issue a single Write call
33
// per log event.
34
func SyncWriter(w io.Writer) io.Writer {
35
if lw, ok := w.(LevelWriter); ok {
0 commit comments