[
https://issues.apache.org/jira/browse/LOG4J2-294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13693207#comment-13693207
]
Gary Gregory commented on LOG4J2-294:
-------------------------------------
The Javadoc is missing on the new API:
org.apache.logging.log4j.LogManager.getLogger()
The Javadoc for the methods that call the new private method getClassName(int)
should also reflect the new dynamic stack trace based behavior when the input
is null.
> Allow getLogger() calls with no logger name provided
> ----------------------------------------------------
>
> Key: LOG4J2-294
> URL: https://issues.apache.org/jira/browse/LOG4J2-294
> Project: Log4j 2
> Issue Type: Improvement
> Components: API
> Affects Versions: 2.0-beta7
> Reporter: Ralph Goers
> Assignee: Ralph Goers
> Fix For: 2.0-beta8
>
>
> Callers to getLogger are required to pass in a Logger name. Most of the time
> this name will be the name of the class the getLogger call is in. It would
> be nice to make this the default so that users can just call
> LogManager.getLogger().
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]