sschuberth commented on code in PR #137:
URL: 
https://github.com/apache/logging-log4j-kotlin/pull/137#discussion_r2391410378


##########
log4j-api-kotlin/src/main/kotlin/org/apache/logging/log4j/kotlin/LoggingFactory.kt:
##########
@@ -34,6 +34,10 @@ inline fun <reified T : Any> T.logger() = 
loggerOf(T::class.java)
  *
  * @since 1.3.0
  */
+@Deprecated(
+  "Replace with autoprop.logger to avoid unintended consequences with 
explicitly declared logger properties. This will be removed in the next major 
release.",
+  replaceWith = ReplaceWith("logger", 
"org.apache.logging.log4j.kotlin.autoprop.logger")

Review Comment:
   Both lines, actually.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to