-
Notifications
You must be signed in to change notification settings - Fork 274
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
Add logging support to Playground #1035
Merged
Merged
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
6b21516
Basic error logging
bgrgicak d804cec
Move logger to a new file
bgrgicak 8480857
Update log message param
bgrgicak 7f2c27a
Cleanup
bgrgicak 46542e5
Return n lines
bgrgicak 315a622
Move logger to website
bgrgicak c23dd92
Display debug.log for request
bgrgicak 60aa62f
Rewrite compiler error to return all error data
bgrgicak 0923c3e
Remove test log
bgrgicak 6d6bdaf
Clean up
bgrgicak d13033d
Merge branch 'trunk' into add/wp-logs
bgrgicak 194bcbd
Merge branch 'add/wp-logs' of https://github.com/WordPress/wordpress-…
bgrgicak b84bdc0
Collect PHP logs on compile error
bgrgicak 46ca5ee
Merge branch 'trunk' into add/wp-logs
bgrgicak 42e47d8
Move logger to blueprints
bgrgicak 3ea93c5
Remove unused dependency
bgrgicak b1b1c71
Fix linter error
bgrgicak c3e2c77
Move logger length to Logger
bgrgicak 9eed92f
Cleanup unused changes
bgrgicak cabbd9b
Address feedback
bgrgicak 5ab98c7
Reset base-php
bgrgicak 6ec3c4a
Merge branch 'trunk' into add/wp-logs
bgrgicak c9f0b5c
Move logger to package
bgrgicak f28c20a
Start logger in client and node
bgrgicak 65dd662
Merge branch 'trunk' into add/wp-logs
bgrgicak be90919
Remove node logger
bgrgicak d0398a3
Set WP_DEBUG only if WP exists
bgrgicak 0650878
Update packages/playground/logger/logger.ts
bgrgicak a192ceb
Update packages/playground/remote/src/lib/playground-mu-plugin/playgr…
bgrgicak 06158e7
Merge branch 'trunk' into add/wp-logs
bgrgicak b14f4a5
Move logger to a buildable package
bgrgicak d0546aa
Fix linter
bgrgicak 451ede1
Merge branch 'trunk' into add/wp-logs
bgrgicak 1d840ed
Move logger code to main plugin file
bgrgicak a3feb32
Attach JS logger in Website only
bgrgicak ef4993b
Revert compile error
bgrgicak 988a9a5
Move window log collection to main
bgrgicak File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This could even be a top-level call outside of the Main component , e.g. right after the imports – this way it would also collect all the errors that happened before React had a chance to render.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can move it in the next pr.