New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add annotation @Log4j2 for Apache Log4j2 #505

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

Comments

Projects
None yet
1 participant
@lombokissues
Collaborator

lombokissues commented Jul 14, 2015

Migrated from Google Code (issue 432)

@lombokissues

This comment has been minimized.

Show comment
Hide comment
@lombokissues

lombokissues Jul 14, 2015

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.

Collaborator

lombokissues commented Jul 14, 2015

👤 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

This comment has been minimized.

Show comment
Hide comment
@lombokissues

lombokissues Jul 14, 2015

Collaborator

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

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

Collaborator

lombokissues commented Jul 14, 2015

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

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

@lombokissues

This comment has been minimized.

Show comment
Hide comment
@lombokissues

lombokissues Jul 14, 2015

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.

Collaborator

lombokissues commented Jul 14, 2015

👤 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

This comment has been minimized.

Show comment
Hide comment
@lombokissues

lombokissues Jul 14, 2015

Collaborator

End of migration

Collaborator

lombokissues commented Jul 14, 2015

End of migration

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