Closed liuweiGL closed 1 year ago
Hi dear @liuweiGL. I undrestand that you need same customization possibilities as you had with v2 for fancy reporter. To make it easier for future improvements and internal refactors and also making customization easier, reporters are not exported anymore but you have the ability to use global consola options to modify their behavior (such as colors, stream, etc). What are the things you need to customize and not possible with v3?
Just for the convenience of upgrading to v3
I respect the author's design, and I plan to refactor it some time later
Hi dear @liuweiGL. I undrestand that you need same customization possibilities as you had with v2 for fancy reporter. To make it easier for future improvements and internal refactors and also making customization easier, reporters are not exported anymore but you have the ability to use global consola options to modify their behavior (such as colors, stream, etc). What are the things you need to customize and not possible with v3?
In my condition, I need to hide the full stack trace info in consola.warn
, but seems it's inconvenient to override the formatStack
method
The comment above is about #194.
Describe the feature
Before version 3.0, I could easily implement my own reporter by inheriting from
BasicReporter
orFancyReporter
Just like:
or
Additional information