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

vy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/logging-log4j-kotlin.git


The following commit(s) were added to refs/heads/main by this push:
     new cc12999  Fix AsciiDoc header ID styling
cc12999 is described below

commit cc12999798f7929c6fd57d6a238e6bcb3a490fb7
Author: Volkan Yazıcı <[email protected]>
AuthorDate: Wed Sep 27 16:59:43 2023 +0200

    Fix AsciiDoc header ID styling
---
 src/site/index.adoc | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/site/index.adoc b/src/site/index.adoc
index 733c346..3c8c3c0 100644
--- a/src/site/index.adoc
+++ b/src/site/index.adoc
@@ -44,7 +44,7 @@ You need to have the 
`org.apache.logging.log4j:log4j-api-kotlin` dependency in y
 </dependency>
 ----
 
-[#_usage]
+[#usage]
 == Usage
 
 You can start using the wrapper by extending from the provided `Logging` 
interface:
@@ -136,7 +136,7 @@ assert(message == ContextStack.pop())
 assert(ContextStack.empty)
 ----
 
-[#_params]
+[#params]
 == Parameter substitution
 
 Unlike Java, Kotlin provides native functionality for 
https://kotlinlang.org/docs/reference/basic-syntax.html#using-string-templates[string
 templates].
@@ -148,7 +148,7 @@ To avoid this, prefer passing a lambda which won't be 
evaluated until necessary:
 logger.debug { "Logging in user ${user.name} with birthday 
${user.calcBirthday()}" }
 ----
 
-[#_logger_names]
+[#logger-names]
 == Logger names
 
 Most logging implementations use a hierarchical scheme for matching logger 
names with logging configuration.
@@ -173,7 +173,7 @@ class MyClass: BaseClass {
 }
 ----
 
-[#_explicitly_named_loggers]
+[#explicitly-named-loggers]
 === Explicitly Named Loggers
 
 An explicitly-named logger may be obtained via the `logger` function that 
takes a `name` parameter:

Reply via email to