Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provide a uniform Log4j 1.x message factory
This PR provides a factory method that decides the type of message based on the runtime type of the logged object (cf. [LOG4J2-3080]( https://issues.apache.org/jira/browse/LOG4J2-3080)). These are applied to both `maybeLog` and `forceLog`.
- Loading branch information
Showing
2 changed files
with
65 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters