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

Add decorator attribute for methods to skip them in stacktrace

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Abandoned
    • 2.0.8
    • None
    • Core
    • None

    Description

      Currently everything in the StackTrace above type LogImpl will be concidered relevant.

      I build a helper class that I don't need to see in every log entrys %stackdetails.

      Also %type and %method always show the helper, of course.

      It would be nice if log4net would define an attribute that I can put on that method to ignore it in the StackTrace.

      Should be dead simple. 

      It might have an impact on performance. So it should be an Opt-In-Feature.

      Attachments

        Activity

          People

            Unassigned Unassigned
            SWSBB Benjamin Buchfink
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: