Any recommendation for structured logging library in Golang?
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[timestamp] [filename:line_number] message k1=v1 k2=v2 ...