Add TODO

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

Branch: refs/heads/LOG4J-1181
Commit: 96e6c662b6aea58d445b66b55989e550b5595785
Parents: feb588a
Author: Mikael StÃ¥ldal <[email protected]>
Authored: Thu Oct 29 18:04:41 2015 +0100
Committer: Mikael StÃ¥ldal <[email protected]>
Committed: Thu Oct 29 18:04:41 2015 +0100

----------------------------------------------------------------------
 .../src/main/scala/org/apache/logging/log4j/scala/Logger.scala    | 3 ++-
 .../src/main/scala/org/apache/logging/log4j/scala/Logger.scala    | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/96e6c662/log4j-scala_2.10/src/main/scala/org/apache/logging/log4j/scala/Logger.scala
----------------------------------------------------------------------
diff --git 
a/log4j-scala_2.10/src/main/scala/org/apache/logging/log4j/scala/Logger.scala 
b/log4j-scala_2.10/src/main/scala/org/apache/logging/log4j/scala/Logger.scala
index 61f1da3..52d18b8 100644
--- 
a/log4j-scala_2.10/src/main/scala/org/apache/logging/log4j/scala/Logger.scala
+++ 
b/log4j-scala_2.10/src/main/scala/org/apache/logging/log4j/scala/Logger.scala
@@ -182,7 +182,8 @@ class Logger(val delegate: ExtendedLogger) {
 
   def isEnabled(level: Level, marker: Marker): Boolean = 
delegate.isEnabled(level, marker)
 
-  def entry(params: AnyRef*): Unit = delegate.entry(params)
+  def entry(params: AnyRef*): Unit =
+    delegate.entry(params) // TODO would be useful to have this as a macro to 
avoid varargs array creation
 
   def entry(): Unit = delegate.entry()
 

http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/96e6c662/log4j-scala_2.11/src/main/scala/org/apache/logging/log4j/scala/Logger.scala
----------------------------------------------------------------------
diff --git 
a/log4j-scala_2.11/src/main/scala/org/apache/logging/log4j/scala/Logger.scala 
b/log4j-scala_2.11/src/main/scala/org/apache/logging/log4j/scala/Logger.scala
index 61f1da3..52d18b8 100644
--- 
a/log4j-scala_2.11/src/main/scala/org/apache/logging/log4j/scala/Logger.scala
+++ 
b/log4j-scala_2.11/src/main/scala/org/apache/logging/log4j/scala/Logger.scala
@@ -182,7 +182,8 @@ class Logger(val delegate: ExtendedLogger) {
 
   def isEnabled(level: Level, marker: Marker): Boolean = 
delegate.isEnabled(level, marker)
 
-  def entry(params: AnyRef*): Unit = delegate.entry(params)
+  def entry(params: AnyRef*): Unit =
+    delegate.entry(params) // TODO would be useful to have this as a macro to 
avoid varargs array creation
 
   def entry(): Unit = delegate.entry()
 

Reply via email to