How to implement level based logging in golang?

前端 未结 11 2214
谎友^
谎友^ 2020-12-24 04:44

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

11条回答
  •  误落风尘
    2020-12-24 05:17

    Take a look at http://cgl.tideland.biz and there at the package "applog". It's working that way.

    PS: The whole CGL is currently reworked and will soon be released with new features, but under a different name. ;)

提交回复
热议问题