Hi Maarten,

Yes, that looks like what I need.
Do you happen yo know how I can get an instance of that interface injected
into a Mojo?

Cheers,
Andres

-------------------------------------------
Java Champion; Groovy Enthusiast
https://andresalmiray.com
https://www.linkedin.com/in/aalmiray
--
What goes up, must come down. Ask any system administrator.
There are 10 types of people in the world: Those who understand binary, and
those who don't.
To understand recursion, we must first understand recursion.


On Mon, Aug 2, 2021 at 7:16 PM Maarten Mulders <[email protected]>
wrote:

> Hi Andres,
>
> Guess you're looking for MessageBuilder interface, which lives in
> maven-shared-utils. There are two implementations, the
> PlainMessageBuilder and AnsiMessageBuilder. The latter one generates the
> colours on the terminal.
>
> HTH,
>
> Maarten
>
> On 02/08/2021 16:47, Andres Almiray wrote:
> > Hello everyone,
> >
> > What is the recommended way for logging text with color?
> > I'd like to print out text where some portions of it should have
> different
> > colors.
> >
> > Cheers,
> > Andres
> > -------------------------------------------
> > Java Champion; Groovy Enthusiast
> > https://andresalmiray.com
> > https://www.linkedin.com/in/aalmiray
> > --
> > What goes up, must come down. Ask any system administrator.
> > There are 10 types of people in the world: Those who understand binary,
> and
> > those who don't.
> > To understand recursion, we must first understand recursion.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to