You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-dev@logging.apache.org by "Bojan (JIRA)" <ji...@apache.org> on 2009/07/10 19:03:14 UTC

[jira] Created: (LOG4NET-222) [PATCH] Improve AnsiColorTerminalAppender to support marking colors as Light

[PATCH] Improve AnsiColorTerminalAppender to support marking colors as Light
----------------------------------------------------------------------------

                 Key: LOG4NET-222
                 URL: https://issues.apache.org/jira/browse/LOG4NET-222
             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


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.
-
You can reply to this email to add a comment to the issue online.