-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
feat(replay): Add a replay-specific logger #13256
Merged
Merged
Commits on Aug 7, 2024
-
feat(replay): Add a replay-specific logger
Removes the old `logInfo` function and replaces it with a new replay-specific logger. Configuration is done when the replay integration is first initialized to avoid needing to pass around configuration options. This also means that we cannot select individual log statements to be added as breadcrumbs with `traceInternals` options. This also adds a `logger.exception` that wraps `captureException`. Note that only the following logging levels are supported: * info * log * warn * error With two additions: * exception * infoTick (needs a better name) - same as `info` but adds the breadcrumb in the next tick due to some pre-existing race conditions There are two configuration options: * enable(/disable)CaptureInternalExceptions * enable(/disable)TraceInternals
Configuration menu - View commit details
-
Copy full SHA for 21d2a4f - Browse repository at this point
Copy the full SHA 21d2a4fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 885e312 - Browse repository at this point
Copy the full SHA 885e312View commit details -
Configuration menu - View commit details
-
Copy full SHA for 11415f5 - Browse repository at this point
Copy the full SHA 11415f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3997943 - Browse repository at this point
Copy the full SHA 3997943View commit details -
Configuration menu - View commit details
-
Copy full SHA for bb541df - Browse repository at this point
Copy the full SHA bb541dfView commit details
Commits on Aug 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ebea1a5 - Browse repository at this point
Copy the full SHA ebea1a5View commit details
Commits on Aug 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ff32c14 - Browse repository at this point
Copy the full SHA ff32c14View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2252f2a - Browse repository at this point
Copy the full SHA 2252f2aView 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.