-
Notifications
You must be signed in to change notification settings - Fork 41
Conversation
|
This is what it could look like with a middleware, and dispatching log actions. The only place where the old reporter is still directly imported is in gatsbyjs/gatsby@master...stefanprobst:redux-logger-middleware Note: Not sure what the scope of the RFC actually is -- the above is not about displaying/formatting/persisting logs, but about forwarding log messages (and potentially every dispatched action) to a logger instance. |
This RFC has entered the final comment period. |
Some discussion on this in gatsbyjs/gatsby#13269 |
Regarding indexed error messages, I think TypeScript is a great example: https://github.com/Microsoft/TypeScript/blob/master/src/compiler/diagnosticMessages.json Having unique error codes greatly helps searching the web for help. It also enables localization of error messages down the line. |
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 is complete so let's merge this in
View formatted