There *is* a Log4j BuildListener.... so have your cake and eat it too! :)
But like Magesh said - we're not talking quite the same thing as log4j, and
if we were to get coupled with a logger we'd use the Commons logging API
probably since its a facade over log4j, logkit, and others.
Erik
----- Original Message -----
From: "Michael Brailsford" <[EMAIL PROTECTED]>
To: "Ant Developers List" <[EMAIL PROTECTED]>
Sent: Tuesday, January 29, 2002 7:24 PM
Subject: Re: ANSI Color Logger
> Why noy use log4j for logging? then if you want color logs you can use
> of the myriad log colorizers, which are almost all written in perl which
> is cross-platform. Why mix two seperate functions? Logging and
> colorizing shouldn't, IMO, be combined into the same functionality.
>
> No need to reinvent the wheel, when log4j for is very flexible, and IMO
> the best logger out there, and when there are capable log colorizers.
> Heck you could even create a syntax highlighting scheme for your logs
> and use it vim if you want color.
>
> -Michael
>
> On Tue, Jan 29, 2002 at 04:14:58PM -0500, Magesh Umasankar wrote:
> > Hi,
> > I have a custom logger that I like using
> > every now and then when I perform a build
> > in non-cron job mode.
> >
> > This custom logger uses ANSI color codes
> > to distinguish various message levels -
> > red for Project.MSG_ERR, of course ;-)
> >
> > It works on standard XTerms (Mindterm
> > interface inclusive). It also works
> > on Win9x as long as ANSI.SYS is loaded.
> > It doesn't work on WinNT even with
> > ANSI.SYS loaded and in command.com mode.
> >
> > The only use-case is that it is easier/
> > faster to understand the output messages
> > generated.
> >
> > Would it be of interest to you? If so,
> > I can package it up (doc it, make it color
> > configurable, etc.) and check it in as an
> > additional logger.
> >
> > Cheers,
> > Magesh
> >
> >
> > ****************************************************
> > * Atom Bomb: An invention to end all inventions. *
> > ****************************************************
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>