Open zlx2019 opened 3 months ago
Does this help IDEA link jump to where the output log is
Hey @zlx2019, could you clarify what you mean by project root and how it could be calculated by zap? Is the benefit of this suggestion to help with IDE integration?
Hey @zlx2019, could you clarify what you mean by project root and how it could be calculated by zap? Is the benefit of this suggestion to help with IDE integration?
Enter the relative path of the log source file to the project, which will help you click the link in GoLand to jump to the output.
How do we know what the project root is? Is that based on the the IDE? If that's the case, I don't believe it's best to encode IDE specific details into Zap.
Is it possible to make the EntryCaller output path relative to the project? Wrong example: D:/xxx/xxx/app/app.go:46 app/app.go:46
What I want is this: