From e9416dbe2a66a4d7e0585ee3192a62387037015f Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Fri, 25 Jan 2019 16:29:22 -0500 Subject: [PATCH] mlog: update package doc example --- mlog/mlog.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mlog/mlog.go b/mlog/mlog.go index f756311..bf8c4d1 100644 --- a/mlog/mlog.go +++ b/mlog/mlog.go @@ -9,8 +9,9 @@ // // Examples: // -// Info("Something important has occurred") -// Error("Could not open file", llog.KV{"filename": filename}, merr.KV(err)) +// log := mlog.NewLogger() +// log.Info("Something important has occurred") +// log.Error("Could not open file", mlog.KV{"filename": filename}, merr.KV(err)) // package mlog