Apparently this is the ANSI Color (ISO 6429) applied through the VT100 control 
codes. Which makes it more VT100 than ANSI or console or terminal etc...

http://www.fh-jena.de/~gmueller/Kurs_halle/esc_vt100.html
Or
http://www.perpetualpc.net/6429_colors.html#color_list

However VT100Appender does not communicate the concept to the end user as well 
as something like AnsiColorTerminalAppender. 

Nicko

> -----Original Message-----
> From: Patrick Wagstrom [mailto:[EMAIL PROTECTED] 
> Sent: 06 September 2004 17:38
> To: Log4NET Dev
> Subject: RE: ColoredConsoleAppender for non Windows Platforms
> 
> I think that AnsiColoredConsoleAppender probably works the 
> best.  It sort of makes some sense.  It's an appender, for 
> the console, that is colored, and uses ANSI for coloring it.
> 
> I'm hesitant to just call it AnsiConsoleAppender because of 
> the fact that ANSI has a whole bunch of standards for all 
> sorts of different things.  In the computer world ANSI may 
> mean only one thing, but I don't want people to mistakingly 
> assume that the appender is written or endorsed by ANSI.
> 
> --Patrick
> 
> On Mon, 2004-09-06 at 10:00, Ceki G�lc� wrote:
> > At 03:56 PM 9/6/2004, you wrote:
> > >Patrick,
> > >
> > >Thanks for the new appender, looks good so far. I will see 
> if I can 
> > >get it to work under my cygwin rxvt terminal.
> > >Just thinking about the name, I can think of the following
> > >possibilities:
> > >
> > >AnsiColoredConsoleAppender
> > >ColoredAnsiConsoleAppender
> > >ColoredAnsiTerminalAppender
> > 
> > How about just "AnsiConsoleAppender"? The "color" property 
> is implied 
> > by "ansi". Log4j might import the code as well.
> > 
> > 
> > 
> > >Any thoughts,
> > >
> > >Nicko
> > >
> > > > -----Original Message-----
> > > > From: Patrick Wagstrom [mailto:[EMAIL PROTECTED]
> > > > Sent: 28 August 2004 16:58
> > > > To: [email protected]
> > > > Subject: ColoredConsoleAppender for non Windows Platforms
> > > >
> > > > Hi,
> > > >
> > > > I'm new to the list and at the moment the archives seem to be a 
> > > > bit broken, so my apologies if this is the wrong protocol to 
> > > > submit an addition.
> > > >
> > > > I've been using Log4Net under Mono on Linux and MacOSX 
> for some of 
> > > > my research and quickly became jealous that there was no way to 
> > > > get the ColoredConsoleAppender under these platforms because of 
> > > > the use of Win32 APIs.  However, it's not difficult to 
> do color on 
> > > > these platforms, just send out ANSI escape sequences.
> > > >
> > > > With that in mind, I present AnsiColoredConsoleAppender.
> > > > Just drop it in with the other Appenders and recompile 
> log4net and 
> > > > you can use it.
> > > > Syntax works about the same as ColoredConsoleAppender with the 
> > > > exception that foreColor and backColor can only be a 
> color (none 
> > > > of the HighIntensity stuff).  There also is a new tag, "attrs", 
> > > > that can be one of Bright, Dim, Underscore, Blink, Reverse, 
> > > > Hidden, or Strikethrough.
> > > >
> > > > Needless to say, it's based heavily on the 
> ColoredConsoleAppender 
> > > > and ConsoleAppender.  So props to Rick Hobbs and Nicko Cadell.
> > > >
> > > > I've attached the code to this message, but if the list 
> strips it 
> > > > out, you can also find it at:
> > > >
> > > > http://patrick.wagstrom.net/projects/personal/log4net/AnsiColo
> > > > redConsoleAppender.cs
> > > >
> > > > Feedback would be appreciated.
> > > >
> > > > Thanks,
> > > >
> > > > Patrick Wagstrom
> > > >
> 
> 

Reply via email to