pjvds / tidy

Go lang structured logging made fast and simple
7 stars 0 forks source link

logger created via fluent config API has wrong module #11

Closed pjvds closed 9 years ago

pjvds commented 9 years ago

Given the following code:

package my_package

var log = tidy.Configure().LogFromLevel(tidy.DEBUG).To(appengine.Configure()).MustBuild()
log.Debug("foobar")

I get the following output in my log:

DEBUG (tidy): foobar

While I expect:

DEBUG (my_package): foobar