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 "Drew Bentley (JIRA)" <ji...@apache.org> on 2006/11/02 14:48:17 UTC

[jira] Created: (LOG4NET-101) [Patch] Trace Appender added Category property

[Patch] Trace Appender added Category property
----------------------------------------------

                 Key: LOG4NET-101
                 URL: http://issues.apache.org/jira/browse/LOG4NET-101
             Project: Log4net
          Issue Type: New Feature
          Components: Appenders
    Affects Versions: 1.2.10
            Reporter: Drew Bentley
            Priority: Trivial


1) Added a public property 'Category'  to use when trace is called.

2) Modified the Append method:

     if (string.IsNullOrEmpty(m_Category)) {
         System.Diagnostics.Trace.Write(RenderLoggingEvent(loggingEvent));
      } else {
        System.Diagnostics.Trace.Write(RenderLoggingEvent(loggingEvent), m_Category);
      }
		


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (LOG4NET-101) [Patch] Trace Appender added Category property

Posted by "Ron Grabowski (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LOG4NET-101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ron Grabowski resolved LOG4NET-101.
-----------------------------------

    Resolution: Duplicate
      Assignee: Ron Grabowski

This is going to be fixed as part of LOG4NET-106.

> [Patch] Trace Appender added Category property
> ----------------------------------------------
>
>                 Key: LOG4NET-101
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-101
>             Project: Log4net
>          Issue Type: New Feature
>          Components: Appenders
>    Affects Versions: 1.2.10
>            Reporter: Drew Bentley
>            Assignee: Ron Grabowski
>            Priority: Trivial
>
> 1) Added a public property 'Category'  to use when trace is called.
> 2) Modified the Append method:
>      if (string.IsNullOrEmpty(m_Category)) {
>          System.Diagnostics.Trace.Write(RenderLoggingEvent(loggingEvent));
>       } else {
>         System.Diagnostics.Trace.Write(RenderLoggingEvent(loggingEvent), m_Category);
>       }
> 		

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.