[docs] reporter
docs don't explain when to use it over console.log etc
#31224
Replies: 8 comments
-
Hiya! This issue has gone quiet. Spooky quiet. 👻 We get a lot of issues, so we currently close issues after 30 days of inactivity. It’s been at least 20 days since the last update here. If we missed this issue or if you want to keep it open, please reply here. You can also add the label "not stale" to keep this issue open! As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request. Check out gatsby.dev/contributefor more information about opening PRs, triaging issues, and contributing! Thanks for being a part of the Gatsby community! 💪💜 |
Beta Was this translation helpful? Give feedback.
-
nice docs issue to keep open |
Beta Was this translation helpful? Give feedback.
-
Hey again! It’s been 30 days since anything happened on this issue, so our friendly neighborhood robot (that’s me!) is going to close it. Please keep in mind that I’m only a robot, so if I’ve closed this issue in error, I’m As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request. Check out gatsby.dev/contribute for more information about opening PRs, triaging issues, and contributing! Thanks again for being part of the Gatsby community! |
Beta Was this translation helpful? Give feedback.
-
Hey again! It’s been 30 days since anything happened on this issue, so our friendly neighborhood robot (that’s me!) is going to close it. Please keep in mind that I’m only a robot, so if I’ve closed this issue in error, I’m As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request. Check out gatsby.dev/contribute for more information about opening PRs, triaging issues, and contributing! Thanks again for being part of the Gatsby community! |
Beta Was this translation helpful? Give feedback.
-
Just want to mention it in case anyone is searching for an answer like me.
Source: https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-cli/src/reporter/index.js#L53-L65 |
Beta Was this translation helpful? Give feedback.
-
hmm. sounds like it should be callled panicDuringBuild? thanks for investigating! |
Beta Was this translation helpful? Give feedback.
-
Not knowing which one of
I saw In my limited experience with Gatsby I've seen projects skip use of |
Beta Was this translation helpful? Give feedback.
-
I'll throw in a quick response here. I understand that it's not super clear here.. Here is the basics:
Our reporter was typically treated as an internal implementation, but we did expose it in things like gatsby-node to allow for users to do fancier things if they want. In my opinion, most apps won't need anything fancy from reporter and can just use console.* for any debug/messaging needs. Fun to note - I'll ping @AishaBlake to see if she wants to get this into our docs |
Beta Was this translation helpful? Give feedback.
-
Summary
[docs]
reporter
docs don't explain when to use it over console.log etcRelevant information
when do i want
panicOnBuild
vspanic
?Edit: Also need to document upcoming activities after structured logs are published
Beta Was this translation helpful? Give feedback.
All reactions