You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
<project_root>/cmd/app/app.go:46
<project_root>/.../internal/server/server.go:46
The text was updated successfully, but these errors were encountered: