You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by rg...@apache.org on 2026/04/01 03:26:59 UTC

(logging-log4j-kotlin) 02/02: Logger extension: update docs

This is an automated email from the ASF dual-hosted git repository.

rgupta pushed a commit to branch rg/136-logger-property-package-change
in repository https://gitbox.apache.org/repos/asf/logging-log4j-kotlin.git

commit 8e53c1c324618aeb476e4f5e99dfa63edf88b09c
Author: Raman Gupta <ro...@gmail.com>
AuthorDate: Tue Mar 31 23:25:15 2026 -0400

    Logger extension: update docs
---
 src/changelog/1.6.0/logger-extension-separate-package.xml | 8 ++++++++
 src/site/antora/modules/ROOT/pages/index.adoc             | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/src/changelog/1.6.0/logger-extension-separate-package.xml b/src/changelog/1.6.0/logger-extension-separate-package.xml
new file mode 100644
index 0000000..2386748
--- /dev/null
+++ b/src/changelog/1.6.0/logger-extension-separate-package.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<entry xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xmlns="https://logging.apache.org/xml/ns"
+       xsi:schemaLocation="https://logging.apache.org/xml/ns https://logging.apache.org/xml/ns/log4j-changelog-0.xsd"
+       type="updated">
+  <issue id="137" link="https://github.com/apache/logging-log4j-kotlin/pull/137"/>
+  <description format="asciidoc">Move the logger extension function to a separate `extension` package</description>
+</entry>
diff --git a/src/site/antora/modules/ROOT/pages/index.adoc b/src/site/antora/modules/ROOT/pages/index.adoc
index 473865b..494e404 100644
--- a/src/site/antora/modules/ROOT/pages/index.adoc
+++ b/src/site/antora/modules/ROOT/pages/index.adoc
@@ -193,7 +193,7 @@ You can use the `logger`  extension property to dynamically inject a logger at t
 
 [source,kotlin]
 ----
-import org.apache.logging.log4j.kotlin.logger
+import org.apache.logging.log4j.kotlin.extension.logger
 
 class DbTableService {