Add annotation @Log4j2 for Apache Log4j2 #505

Closed
lombokissues opened this Issue Jul 14, 2015 · 4 comments

Projects

None yet

1 participant

@lombokissues
Collaborator

Migrated from Google Code (issue 432)

@lombokissues
Collaborator

👤 kolobrodik   🕗 Nov 28, 2012 at 20:02 UTC

Please add similar to @ Log4j annotation to support Log4j2.
The initialization of logger in new version has changed to something like this:

Logger logger = LogManager.getLogger(Class.class);

Please add this feature to lombok.

@lombokissues
Collaborator

👤 kolobrodik   🕗 Nov 28, 2012 at 20:02 UTC

For more information: http://logging.apache.org/log4j/2.0/manual/architecture.html

@lombokissues
Collaborator

👤 reinierz   🕗 Mar 11, 2013 at 21:11 UTC

Fair point. We added it; you can start using this new feature by downloading the edge release:

https://projectlombok.org/download-edge.html

Just as you suggested, the new annotation is @ Log4j2.

The docs of the features/Log.html page will be updated later when this update is in an official release and not just available as an edge download.

@lombokissues
Collaborator

End of migration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment