You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by rp...@apache.org on 2016/08/28 15:12:06 UTC
[42/50] logging-log4j2 git commit: Add Scala API to documentation
about dependencies
Add Scala API to documentation about dependencies
Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/f936a6d0
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/f936a6d0
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/f936a6d0
Branch: refs/heads/LOG4J2-1349-gcfree-threadcontext
Commit: f936a6d0f6f7b0920443982ce75239043f9dac15
Parents: 139f57b
Author: Mikael St�ldal <mi...@staldal.nu>
Authored: Sun Aug 28 12:42:09 2016 +0200
Committer: Mikael St�ldal <mi...@staldal.nu>
Committed: Sun Aug 28 12:42:09 2016 +0200
----------------------------------------------------------------------
src/site/xdoc/maven-artifacts.xml.vm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/f936a6d0/src/site/xdoc/maven-artifacts.xml.vm
----------------------------------------------------------------------
diff --git a/src/site/xdoc/maven-artifacts.xml.vm b/src/site/xdoc/maven-artifacts.xml.vm
index da25745..0bf3a7e 100644
--- a/src/site/xdoc/maven-artifacts.xml.vm
+++ b/src/site/xdoc/maven-artifacts.xml.vm
@@ -375,6 +375,34 @@ dependencies {
compile group: 'org.apache.logging.log4j', name: 'log4j-iostreams', version: '${Log4jReleaseVersion}'
}
]]></pre>
+ <h4>Scala API</h4>
+ <p>A convenient Scala wrapper for the Logger API</p>
+ <code>build.sbt</code>
+ <pre class="prettyprint linenums"><![CDATA[
+"org.apache.logging.log4j" %% "log4j-api-scala" % "${Log4jReleaseVersion}"
+]]></pre>
+ <code>pom.xml</code>
+ <pre class="prettyprint linenums"><![CDATA[
+<dependencies>
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-api-scala_2.11</artifactId>
+ <version>${Log4jReleaseVersion}</version>
+ </dependency>
+</dependencies>
+]]></pre>
+ <code>ivy.xml</code>
+ <pre class="prettyprint linenums"><![CDATA[
+<dependencies>
+ <dependency org="org.apache.logging.log4j" name="log4j-api-scala_2.11" rev="${Log4jReleaseVersion}" />
+</dependencies>
+]]></pre>
+ <code>build.gradle</code>
+ <pre class="prettyprint linenums"><![CDATA[
+dependencies {
+ compile group: 'org.apache.logging.log4j', name: 'log4j-api-scala_2.11', version: '${Log4jReleaseVersion}'
+}
+]]></pre>
</subsection>
</section>
</body>