logging-log4net-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Bodewig (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (LOG4NET-223) [PATCH] Improve AnsiColorTerminalAppender to support marking colors as Light
Date Fri, 04 Nov 2011 16:19:51 GMT

     [ https://issues.apache.org/jira/browse/LOG4NET-223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Stefan Bodewig resolved LOG4NET-223.

       Resolution: Fixed
    Fix Version/s:     (was: 1.2 Maintenance Release)

patch applied with svn revision  1197625

> [PATCH] Improve AnsiColorTerminalAppender to support marking colors as Light
> ----------------------------------------------------------------------------
>                 Key: LOG4NET-223
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-223
>             Project: Log4net
>          Issue Type: Improvement
>          Components: Appenders
>    Affects Versions: 1.2.10
>         Environment: Tested on Ubuntu Karmic, with log4net 1.2.10, should work on all
Unix environments that speak VT100.
>            Reporter: Bojan
>            Priority: Trivial
>             Fix For: 1.2.12
>         Attachments: light-adjustment.patch
> The attached patch adds the ability to mark AnsiColors as Light using AnsiAttribute.
This fixes a minor glitch in AnsiColorTerminalAppender that would cause AnsiColorTerminalAppender
to output a grey-ish color instead of white when BackColor was set to AnsiColor.White by allowing
the user to set the proper option of AnsiAttribute.Light and AnsiColor.White, rather than
setting BackColor manually to 67 (60 for the light adjustment, 7 for white), and allows more
color expressivity.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message