log icon indicating copy to clipboard operation
log copied to clipboard

关于Caller输出的问题

Open dxvgef opened this issue 4 months ago • 3 comments

我的配置是log.Logger{Caller: 0},但是调用写的是log.Error().Caller(),输出的样式大概如下:

ERR 25 test/logger.go:105 > error="test "

请问 ERR 后面的 25 是什么?是否有参数可以去除?好像因为这个导致Goland里不能点击这里跳转到文件指定行了

dxvgef avatar Oct 04 '24 22:10 dxvgef