Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collect stacktrace using record.PC #3

Open
samber opened this issue Jan 21, 2024 · 0 comments
Open

Collect stacktrace using record.PC #3

samber opened this issue Jan 21, 2024 · 0 comments

Comments

@samber
Copy link
Owner

samber commented Jan 21, 2024

Currently, zap builds its own stacktrace and puts it in a string. It prevents us from playing with it and moving the initial frame to the slog logger call (instead of zap logger call).

We should write a stacktrace by ourselves. See the job done at https://github.com/samber/oops

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant