From a24262f295c9c6e82f36f1a9ba9cb25e792aa67d Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Fri, 25 Jan 2019 16:39:57 -0500 Subject: [PATCH] mlog: update function docs --- mlog/mlog.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mlog/mlog.go b/mlog/mlog.go index bf8c4d1..5c1eb5e 100644 --- a/mlog/mlog.go +++ b/mlog/mlog.go @@ -168,8 +168,8 @@ func (m merger) KV() map[string]interface{} { return mergeInto(m.base, m.rest...) } -// Prefix prefixes the all keys returned from the given KVer with the given -// prefix string. +// Prefix prefixes all keys returned from the given KVer with the given prefix +// string. func Prefix(kv KVer, prefix string) KVer { return KVerFunc(func() map[string]interface{} { kvm := readOnlyKVM(kv) @@ -223,7 +223,7 @@ func stringSlice(kv KV) [][2]string { // Handler if necessary. type Handler func(msg Message) error -// DefaultFormat formats and writs the Message to the given Writer using mlog's +// DefaultFormat formats and writes the Message to the given Writer using mlog's // default format. func DefaultFormat(w io.Writer, msg Message) error { var err error