You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by mi...@apache.org on 2016/08/27 11:50:50 UTC

[35/50] logging-log4j2 git commit: Remove level and name accessors from Scala Logger interface

Remove level and name accessors from Scala Logger interface


Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/7dac62e8
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/7dac62e8
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/7dac62e8

Branch: refs/heads/master
Commit: 7dac62e8edcb7ea94d5344beba56df8e6f4a94b8
Parents: 22bf207
Author: Mikael St�ldal <mi...@magine.com>
Authored: Fri Jul 1 11:40:26 2016 +0200
Committer: Mikael St�ldal <mi...@magine.com>
Committed: Fri Jul 1 11:40:26 2016 +0200

----------------------------------------------------------------------
 .../scala/org/apache/logging/log4j/scala/Logger.scala    | 11 -----------
 .../scala/org/apache/logging/log4j/scala/Logger.scala    | 11 -----------
 2 files changed, 22 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/7dac62e8/log4j-api-scala_2.10/src/main/scala/org/apache/logging/log4j/scala/Logger.scala
----------------------------------------------------------------------
diff --git a/log4j-api-scala_2.10/src/main/scala/org/apache/logging/log4j/scala/Logger.scala b/log4j-api-scala_2.10/src/main/scala/org/apache/logging/log4j/scala/Logger.scala
index 7e3a83c..1c19fcd 100644
--- a/log4j-api-scala_2.10/src/main/scala/org/apache/logging/log4j/scala/Logger.scala
+++ b/log4j-api-scala_2.10/src/main/scala/org/apache/logging/log4j/scala/Logger.scala
@@ -565,17 +565,6 @@ class Logger private(val delegate: ExtendedLogger) {
   def catching(level: Level, t: Throwable): Unit = delegate.catching(level, t)
 
 
-  /**
-    * @return the `Level` associated with this Logger
-    */
-  def level: Level = delegate.getLevel
-
-  /**
-    * @return the logger name
-    */
-  def name: String = delegate.getName
-
-
   /** Always logs a message at the specified level. It is the responsibility of the caller to ensure the specified
     * level is enabled.
     *

http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/7dac62e8/log4j-api-scala_2.11/src/main/scala/org/apache/logging/log4j/scala/Logger.scala
----------------------------------------------------------------------
diff --git a/log4j-api-scala_2.11/src/main/scala/org/apache/logging/log4j/scala/Logger.scala b/log4j-api-scala_2.11/src/main/scala/org/apache/logging/log4j/scala/Logger.scala
index 7e3a83c..1c19fcd 100644
--- a/log4j-api-scala_2.11/src/main/scala/org/apache/logging/log4j/scala/Logger.scala
+++ b/log4j-api-scala_2.11/src/main/scala/org/apache/logging/log4j/scala/Logger.scala
@@ -565,17 +565,6 @@ class Logger private(val delegate: ExtendedLogger) {
   def catching(level: Level, t: Throwable): Unit = delegate.catching(level, t)
 
 
-  /**
-    * @return the `Level` associated with this Logger
-    */
-  def level: Level = delegate.getLevel
-
-  /**
-    * @return the logger name
-    */
-  def name: String = delegate.getName
-
-
   /** Always logs a message at the specified level. It is the responsibility of the caller to ensure the specified
     * level is enabled.
     *