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

[Patch] Trace Appender added Category property

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Duplicate
    • Affects Version/s: 1.2.10
    • Fix Version/s: None
    • Component/s: Appenders
    • Labels:
      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

              • Assignee:
                ron Ron Grabowski
                Reporter:
                drew bentley Drew Bentley
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: