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:27 UTC

[12/50] logging-log4j2 git commit: Fix typo

Fix typo


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

Branch: refs/heads/master
Commit: f4f6aa20730f4afd530bec51a61978ef64f89922
Parents: 8a47e9a
Author: Mikael St�ldal <mi...@staldal.nu>
Authored: Sun Jun 26 20:03:20 2016 +0200
Committer: Mikael St�ldal <mi...@staldal.nu>
Committed: Sun Jun 26 20:03:20 2016 +0200

----------------------------------------------------------------------
 .../src/main/scala/org/apache/logging/log4j/scala/Logger.scala     | 2 +-
 src/site/xdoc/manual/scala-api.xml                                 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/f4f6aa20/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 16156f4..79ae8de 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
@@ -54,7 +54,7 @@ object Logger {
   * to achieve this:
   *
   * {{{
-  * logger.debug(s"Logging in user ${user.getName} with birthday ${user.calcBrithday}")
+  * logger.debug(s"Logging in user ${user.getName} with birthday ${user.calcBirthday}")
   * }}}
   *
   * Since this wrapper is implemented with macros, the String construction and method invocations

http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/f4f6aa20/src/site/xdoc/manual/scala-api.xml
----------------------------------------------------------------------
diff --git a/src/site/xdoc/manual/scala-api.xml b/src/site/xdoc/manual/scala-api.xml
index 5d4c6e5..ec6c955 100644
--- a/src/site/xdoc/manual/scala-api.xml
+++ b/src/site/xdoc/manual/scala-api.xml
@@ -54,7 +54,7 @@ class MyClass extends BaseClass with Logging {
                     <a href="http://docs.scala-lang.org/overviews/core/string-interpolation.html">string interpolation</a>
                     to achieve this:
                 </p>
-                <pre class="prettyprint">logger.debug(s"Logging in user ${user.getName} with birthday ${user.calcBrithday}")</pre>
+                <pre class="prettyprint">logger.debug(s"Logging in user ${user.getName} with birthday ${user.calcBirthday}")</pre>
                 <p>
                     Since the Scala Logger is implemented with macros, the String construction and method invocations
                     will only occur when debug logging is enabled.