/logprinter

A Print/Printf adapter for kit/log

Primary LanguageGoMIT LicenseMIT

logprinter GoDoc Go Report Card

A Print/Printf adapter for kit/log

var l log.Logger = &exampleLogger{}
p := logprinter.NewPrinter(l, "msg")
p.Print("test")
p.Printf("%d", 10)

Output:

msg test
msg 10