Skip to content

Conversation

@shawjef3
Copy link

This exposes the location part of the Message to loggers, so that if the source location is known at compile time, it can be added to the log with no runtime cost. An example use is the scala loggers which are implemented with macros, and therefore have that information available at no cost to the developer, either.

…tion-release-2.x

# Conflicts:
#	log4j-api/src/main/java/org/apache/logging/log4j/message/ReusableObjectMessage.java
#	log4j-api/src/main/java/org/apache/logging/log4j/message/StructuredDataMessage.java
#	log4j-api/src/main/java/org/apache/logging/log4j/spi/AbstractLogger.java
#	log4j-core/src/main/java/org/apache/logging/log4j/core/async/AsyncLogger.java
#	log4j-core/src/main/java/org/apache/logging/log4j/core/impl/Log4jLogEvent.java
#	log4j-core/src/main/java/org/apache/logging/log4j/core/impl/MutableLogEvent.java
#	log4j-core/src/test/java/org/apache/logging/log4j/core/impl/Log4jLogEventTest.java
@shawjef3 shawjef3 closed this Feb 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant