Any recommendation for structured logging library in Golang?

2 points by chrislusf ↗ HN
I am considering moving from glog to structured logging. I tried logrus. But it is missing file name and line number by default. I could not find a good 3rd party plugin for this either.

I just want to show the correct file name(need to pop out a few call stacks) and line number in a customizable format, not as key-value pair for each line.

Please let me know the one you actually use.

4 comments

[ 14.0 ms ] story [ 479 ms ] thread
uber/zap is highly regarded and used