mlog: update package doc example
This commit is contained in:
parent
79bf3d6f89
commit
e9416dbe2a
@ -9,8 +9,9 @@
|
|||||||
//
|
//
|
||||||
// Examples:
|
// Examples:
|
||||||
//
|
//
|
||||||
// Info("Something important has occurred")
|
// log := mlog.NewLogger()
|
||||||
// Error("Could not open file", llog.KV{"filename": filename}, merr.KV(err))
|
// log.Info("Something important has occurred")
|
||||||
|
// log.Error("Could not open file", mlog.KV{"filename": filename}, merr.KV(err))
|
||||||
//
|
//
|
||||||
package mlog
|
package mlog
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user