You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Benjamin Buchfink (Jira)" <ji...@apache.org> on 2020/01/21 06:32:00 UTC

[jira] [Updated] (LOG4NET-641) Add decorator attribute for methods to skip them in stacktrace

     [ https://issues.apache.org/jira/browse/LOG4NET-641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Buchfink updated LOG4NET-641:
--------------------------------------
    Summary: Add decorator attribute for methods to skip them in stacktrace  (was: Add decorator attribute for method to skip them in stacktrace)

> Add decorator attribute for methods to skip them in stacktrace
> --------------------------------------------------------------
>
>                 Key: LOG4NET-641
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-641
>             Project: Log4net
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 2.0.8
>            Reporter: Benjamin Buchfink
>            Priority: Major
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)