Uploaded image for project: 'Log4net'
  1. Log4net
  2. LOG4NET-101

[Patch] Trace Appender added Category property

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Trivial
    • Resolution: Duplicate
    • 1.2.10
    • None
    • Appenders
    • None

    Description

      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); }

      Attachments

        Issue Links

          Activity

            People

              ron liu ron
              drew bentley Drew Bentley
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: