FancyReporter should allow configuration of newline wrapping
Author: boneskullCreated Sep 18, 2026Updated Sep 18, 2026
Labelsenhancement
Describe the feature
FancyReporter is hardcoded to wrap log output in newlines (pre/post) if the log level is less than 2 (warn or below):
and
Because FancyReporter is not exported, I cannot easily override this behavior in a subclass, as I'd like everything else FancyReporter is doing.
I have a situation where I'm logging warnings in sequence which ends up inserting double-newlines between each message:
- Expose
FancyReporter(ref: #181) - Suppress extra-newline behavior if
compactflag is truthy
Additional information
- Would you be willing to help implement this feature?
Source: unjs/consola