You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by ma...@apache.org on 2023/01/30 01:39:06 UTC

[logging-log4j-kotlin] branch master updated: More docs

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 86be2dd  More docs
86be2dd is described below

commit 86be2ddf436daef763dea7d63d8b95b1a80db95e
Author: Matt Sicker <ma...@apache.org>
AuthorDate: Sun Jan 29 19:38:59 2023 -0600

    More docs
---
 .../src/main/kotlin/org/apache/logging/log4j/kotlin/Logging.kt        | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/log4j-api-kotlin/src/main/kotlin/org/apache/logging/log4j/kotlin/Logging.kt b/log4j-api-kotlin/src/main/kotlin/org/apache/logging/log4j/kotlin/Logging.kt
index ff7d76f..5d7b2a0 100644
--- a/log4j-api-kotlin/src/main/kotlin/org/apache/logging/log4j/kotlin/Logging.kt
+++ b/log4j-api-kotlin/src/main/kotlin/org/apache/logging/log4j/kotlin/Logging.kt
@@ -49,7 +49,9 @@ package org.apache.logging.log4j.kotlin
  * nanoseconds).
  */
 interface Logging {
-  @Suppress("unused")
+  /**
+   * Provides a logger automatically named after the class that extends this mixin interface.
+   */
   val logger
     get() = cachedLoggerOf(this.javaClass)
 }