-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Allow configurable stacktrace encoding #1371
Open
arwineap
wants to merge
7
commits into
uber-go:master
Choose a base branch
from
arwineap:configurable-stacktrace-encoding
base: master
Could not load branches
Branch not found: {{ refName }}
Could not load tags
Nothing to show
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Allow configurable stacktrace encoding #1371
arwineap
wants to merge
7
commits into
uber-go:master
from
arwineap:configurable-stacktrace-encoding
Commits on Oct 9, 2023
-
Allow configurable stacktrace encoding
This PR adds a `StacktraceEncoder` type to the `EncoderConfig` struct Users can override the `EncodeStacktrace` field to configure how stacktraces are outputed This PR aims to resolve uber-go#514 by mirroring the behavior of the `EncodeCaller` field The `EncodeStacktrace` field has been inserted as a required field, and has been added to `NewDevelopmentConfig` and `NewProductionConfig` as sane defaults however, it is currently a required field and can cause a panic if a user is manually building their config without these helpers.
Configuration menu - View commit details
-
Copy full SHA for 456073a - Browse repository at this point
Copy the full SHA 456073aView commit details
Commits on Oct 10, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ebc0c4f - Browse repository at this point
Copy the full SHA ebc0c4fView commit details -
Configuration menu - View commit details
-
Copy full SHA for a0dbf50 - Browse repository at this point
Copy the full SHA a0dbf50View commit details -
This is now unneeded because `EncodeStacktrace` will not be nil
Configuration menu - View commit details
-
Copy full SHA for 57f3398 - Browse repository at this point
Copy the full SHA 57f3398View commit details -
Configuration menu - View commit details
-
Copy full SHA for cad62a8 - Browse repository at this point
Copy the full SHA cad62a8View commit details
Commits on Oct 11, 2023
-
Co-authored-by: Abhinav Gupta <mail@abhinavg.net>
Configuration menu - View commit details
-
Copy full SHA for 449be6b - Browse repository at this point
Copy the full SHA 449be6bView commit details -
Co-authored-by: Abhinav Gupta <mail@abhinavg.net>
Configuration menu - View commit details
-
Copy full SHA for d45920a - Browse repository at this point
Copy the full SHA d45920aView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.