-
Notifications
You must be signed in to change notification settings - Fork 39
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
Support adding custom messages from consoleProps #184
Comments
Why not improve this in logging in the plugin by default. We could expand these values by default and maybe add some configs to control their sizes (maybe also have default limits). Contribution is welcome. |
Added support for this in 5.2.0. But it is not customizable for now, and only the case of the |
There are certain command which have a ton of really important information in the
consoleProps
, especially on failures. Often the message is totally useless.For example:
The
consoleProps.actual
has the actual array contents which needs to be logged to have any hope of knowing what went wrong.I've had to come up with an extremely convoluted solution which involves registering my own task to collect these props and then proxy the
on: PluginEvents
argument that gets passed toinstallLogsPrinter
to append messages. It's really fragile and doesn't put the messages in the correct place, they are always on the end.I'm not entirely sure what properties will be guaranteed but it could look something a bit like this:
Or the
consoleProps
could be added toLog
and changeprocessLog
to:The text was updated successfully, but these errors were encountered: