[
https://issues.apache.org/jira/browse/LOG4J2-33?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15144304#comment-15144304
]
Gary Gregory commented on LOG4J2-33:
------------------------------------
I really like the idea of decorating some APIs with {{@LogEntryExit}}, except I
would probably call it {{@LogFlow}}. And if {{@LogFlow}} where declared on the
Class, then by default all public APIs would be weaved. You could also do
{{@LogFlow("protected")}} to get public, package and protected methods.
> Support Annotations
> -------------------
>
> Key: LOG4J2-33
> URL: https://issues.apache.org/jira/browse/LOG4J2-33
> Project: Log4j 2
> Issue Type: New Feature
> Components: API
> Affects Versions: 2.0-rc2
> Reporter: Ralph Goers
> Fix For: 0.1, 2.3
>
> Attachments: 0001-Add-Loggable.patch
>
>
> The Log4j API should support using annotations as provided in Java 6 so
> applications can use them instead of calls to logger APIs. This is especially
> useful for entering & exiting type of events, but could be used wherever
> annotations are allowed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]