Is there any good wrapper available for level based logging in golang? If not, how should I go about implementing one myself?
What I want is pretty simple. I want a
I am working with rlog at the moment and like their approach. The code looks good, simplistic and sufficiently documented.
What convinced me:
rlog.Info()
anywhere without passing around referencesrlog.Trace(4, "foo")