You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@onami.apache.org by gr...@apache.org on 2012/12/05 10:16:52 UTC
svn commit: r1417323 - in /incubator/onami/trunk/logging/src/site/apt:
acl.apt.vm extend.apt.vm index.apt juli.apt.vm log4j.apt.vm slf4j.apt.vm
Author: grobmeier
Date: Wed Dec 5 09:16:49 2012
New Revision: 1417323
URL: http://svn.apache.org/viewvc?rev=1417323&view=rev
Log:
changed to new packages
Modified:
incubator/onami/trunk/logging/src/site/apt/acl.apt.vm
incubator/onami/trunk/logging/src/site/apt/extend.apt.vm
incubator/onami/trunk/logging/src/site/apt/index.apt
incubator/onami/trunk/logging/src/site/apt/juli.apt.vm
incubator/onami/trunk/logging/src/site/apt/log4j.apt.vm
incubator/onami/trunk/logging/src/site/apt/slf4j.apt.vm
Modified: incubator/onami/trunk/logging/src/site/apt/acl.apt.vm
URL: http://svn.apache.org/viewvc/incubator/onami/trunk/logging/src/site/apt/acl.apt.vm?rev=1417323&r1=1417322&r2=1417323&view=diff
==============================================================================
--- incubator/onami/trunk/logging/src/site/apt/acl.apt.vm (original)
+++ incubator/onami/trunk/logging/src/site/apt/acl.apt.vm Wed Dec 5 09:16:49 2012
@@ -1,9 +1,9 @@
- ------
- Apache Commons Logging
- ------
- Simone Tripodi
- ------
- 2012
+ ------
+ Apache Commons Logging
+ ------
+ The Apache Onami Team
+ ------
+ 2012
~~
~~ Licensed to the Apache Software Foundation (ASF) under one or more
@@ -30,15 +30,15 @@ Apache Commons Logging
+--------------------------------------+
<dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sli4j-acl</artifactId>
+ <groupId>org.apache.onami.logging</groupId>
+ <artifactId>onami-logging-acl</artifactId>
<version>${project.version}</version>
<scope>compile</scope>
</dependency>
+--------------------------------------+
then, when creating the <<<com.google.inject.Injector>>>, add the
- <<<org.nnsoft.guice.sli4j.acl.ACLLoggingModule>>> module; please take note
+ <<<org.apache.onami.logging.acl.ACLLoggingModule>>> module; please take note
that users have to specify the classes <<<com.google.inject.matcher.Matcher>>>
for whom the logging injection has to be applied:
@@ -46,7 +46,7 @@ Apache Commons Logging
import com.google.inject.Guice;
import com.google.inject.Injector;
-import org.nnsoft.guice.sli4j.acl.ACLLoggingModule;
+import org.apache.onami.logging.acl.ACLLoggingModule;
import com.google.inject.matcher.Matchers;
...
Modified: incubator/onami/trunk/logging/src/site/apt/extend.apt.vm
URL: http://svn.apache.org/viewvc/incubator/onami/trunk/logging/src/site/apt/extend.apt.vm?rev=1417323&r1=1417322&r2=1417323&view=diff
==============================================================================
--- incubator/onami/trunk/logging/src/site/apt/extend.apt.vm (original)
+++ incubator/onami/trunk/logging/src/site/apt/extend.apt.vm Wed Dec 5 09:16:49 2012
@@ -1,9 +1,9 @@
- ------
- Extend sli4j
- ------
- Simone Tripodi
- ------
- 2012
+ ------
+ Extend Onami Logging
+ ------
+ The Apache Onami Team
+ ------
+ 2012
~~
~~ Licensed to the Apache Software Foundation (ASF) under one or more
@@ -22,7 +22,7 @@
~~ limitations under the License.
~~
-Extend sli4j
+Extend Apache Onami Logging
Exigent users that have the need to integrate not already supported logging
framework, can easily do it by following the listed steps:
@@ -31,8 +31,8 @@ Extend sli4j
+--------------------------------------+
<dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sli4j-core</artifactId>
+ <groupId>org.apache.onami.logging</groupId>
+ <artifactId>onami-logging-core</artifactId>
<version>${project.version}</version>
<scope>compile</scope>
</dependency>
@@ -48,7 +48,7 @@ import java.lang.reflect.Field;
import com.acme.MyLogger;
import com.acme.MyLoggerFactory;
-import org.nnsoft.guice.sli4j.core.AbstractLoggerInjector;
+import org.apache.onami.logging.core.AbstractLoggerInjector;
public final class AcmeLoggerInjector
extends AbstractLoggerInjector<MyLogger>
@@ -68,14 +68,14 @@ public final class AcmeLoggerInjector
}
+--------------------------------------+
- [[3]] Extend the <<<org.nnsoft.guice.sli4j.core.AbstractLoggingModule>>>,
+ [[3]] Extend the <<<org.apache.onami.logging.core.AbstractLoggingModule>>>,
specifying the Logger type and the
- <<<org.nnsoft.guice.sli4j.core.AbstractLoggerInjector>>> type:
+ <<<org.apache.onami.logging.core.AbstractLoggerInjector>>> type:
+--------------------------------------+
import com.acme.MyLogger;
-import org.nnsoft.guice.sli4j.core.AbstractLoggingModule;
+import org.apache.onami.logging.core.AbstractLoggingModule;
import com.google.inject.TypeLiteral;
import com.google.inject.matcher.Matcher;
Modified: incubator/onami/trunk/logging/src/site/apt/index.apt
URL: http://svn.apache.org/viewvc/incubator/onami/trunk/logging/src/site/apt/index.apt?rev=1417323&r1=1417322&r2=1417323&view=diff
==============================================================================
--- incubator/onami/trunk/logging/src/site/apt/index.apt (original)
+++ incubator/onami/trunk/logging/src/site/apt/index.apt Wed Dec 5 09:16:49 2012
@@ -1,7 +1,9 @@
- ------
- Introduction
- ------
- 2012
+ ------
+ Introduction to Apache Onami Logging
+ ------
+ The Apache Onami Team
+ ------
+ 2012
~~
~~ Licensed to the Apache Software Foundation (ASF) under one or more
@@ -22,7 +24,7 @@
Introduction
- <<Onami Logging>> is a small, light and fast logger Injector, built on
+ <<Apache Onami Logging>> is a small, light and fast logger Injector, built on
top of <Google-Guice>, for the well known frameworks:
* Apache {{{http://logging.apache.org/log4j/2.x}log4j 2}};
Modified: incubator/onami/trunk/logging/src/site/apt/juli.apt.vm
URL: http://svn.apache.org/viewvc/incubator/onami/trunk/logging/src/site/apt/juli.apt.vm?rev=1417323&r1=1417322&r2=1417323&view=diff
==============================================================================
--- incubator/onami/trunk/logging/src/site/apt/juli.apt.vm (original)
+++ incubator/onami/trunk/logging/src/site/apt/juli.apt.vm Wed Dec 5 09:16:49 2012
@@ -1,9 +1,9 @@
- ------
- JULI
- ------
- Simone Tripodi
- ------
- 2012
+ ------
+ JULI
+ ------
+ The Apache Onami Team
+ ------
+ 2012
~~
~~ Licensed to the Apache Software Foundation (ASF) under one or more
@@ -30,8 +30,8 @@ JULI - Java Utils Logging
+--------------------------------------+
<dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sli4j-juli</artifactId>
+ <groupId>org.apache.onami.logging</groupId>
+ <artifactId>onami-logging-juli</artifactId>
<version>${project.version}</version>
<scope>compile</scope>
</dependency>
@@ -46,7 +46,7 @@ JULI - Java Utils Logging
import com.google.inject.Guice;
import com.google.inject.Injector;
-import org.nnsoft.guice.sli4j.juli.JuliLoggingModule;
+import org.apache.onami.logging.juli.JuliLoggingModule;
import com.google.inject.matcher.Matchers;
...
Modified: incubator/onami/trunk/logging/src/site/apt/log4j.apt.vm
URL: http://svn.apache.org/viewvc/incubator/onami/trunk/logging/src/site/apt/log4j.apt.vm?rev=1417323&r1=1417322&r2=1417323&view=diff
==============================================================================
--- incubator/onami/trunk/logging/src/site/apt/log4j.apt.vm (original)
+++ incubator/onami/trunk/logging/src/site/apt/log4j.apt.vm Wed Dec 5 09:16:49 2012
@@ -1,9 +1,9 @@
- ------
- Apache log4j
- ------
- Simone Tripodi
- ------
- 2012
+ ------
+ Apache log4j 1.x
+ ------
+ The Apache Onami Team
+ ------
+ 2012
~~
~~ Licensed to the Apache Software Foundation (ASF) under one or more
@@ -22,23 +22,23 @@
~~ limitations under the License.
~~
-Apache log4j
+Apache log4j 1.x
- Users that want to use the <Apache log4j> package and let <Guice>
+ Users that want to use the <Apache log4j 1.x> package and let <Guice>
injects automagically <<<org.apache.log4j.Logger>>> instances, have to add
the following dependency in the <<<pom.xml>>>:
+--------------------------------------+
<dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sli4j-log4j</artifactId>
+ <groupId>org.apache.onami.logging</groupId>
+ <artifactId>onami-logging-log4j</artifactId>
<version>${project.version}</version>
<scope>compile</scope>
</dependency>
+--------------------------------------+
then, when creating the <<<com.google.inject.Injector>>>, add the
- <<<org.nnsoft.guice.sli4j.log4j.Log4jLoggingModule>>> module; please take note
+ <<<org.apache.onami.logging.log4j.Log4jLoggingModule>>> module; please take note
that users have to specify the classes <<<com.google.inject.matcher.Matcher>>>
for whom the logging injection has to be applied:
@@ -46,7 +46,7 @@ Apache log4j
import com.google.inject.Guice;
import com.google.inject.Injector;
-import org.nnsoft.guice.sli4j.log4j.Log4jLoggingModule;
+import org.apache.onami.logging.log4j.Log4jLoggingModule;
import com.google.inject.matcher.Matchers;
...
Modified: incubator/onami/trunk/logging/src/site/apt/slf4j.apt.vm
URL: http://svn.apache.org/viewvc/incubator/onami/trunk/logging/src/site/apt/slf4j.apt.vm?rev=1417323&r1=1417322&r2=1417323&view=diff
==============================================================================
--- incubator/onami/trunk/logging/src/site/apt/slf4j.apt.vm (original)
+++ incubator/onami/trunk/logging/src/site/apt/slf4j.apt.vm Wed Dec 5 09:16:49 2012
@@ -1,9 +1,9 @@
- ------
- SLF4J
- ------
- Simone Tripodi
- ------
- 2012
+ ------
+ SLF4J
+ ------
+ The Apache Onami Team
+ ------
+ 2012
~~
~~ Licensed to the Apache Software Foundation (ASF) under one or more
@@ -30,15 +30,15 @@ Simple Logging Facade for Java (SLF4J)
+--------------------------------------+
<dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sli4j-slf4j</artifactId>
+ <groupId>org.apache.onami.logging</groupId>
+ <artifactId>onami-logging-slf4j</artifactId>
<version>${project.version}</version>
<scope>compile</scope>
</dependency>
+--------------------------------------+
then, when creating the <<<com.google.inject.Injector>>>, add the
- <<<org.nnsoft.guice.sli4j.slf4j.Slf4jLoggingModule>>> module; please take note
+ <<<org.apache.onami.logging.slf4j.Slf4jLoggingModule>>> module; please take note
that users have to specify the classes <<<com.google.inject.matcher.Matcher>>>
for whom the logging injection has to be applied:
@@ -46,7 +46,7 @@ Simple Logging Facade for Java (SLF4J)
import com.google.inject.Guice;
import com.google.inject.Injector;
-import org.nnsoft.guice.sli4j.slf4j.Slf4jLoggingModule;
+import org.apache.onami.logging.slf4j.Slf4jLoggingModule;
import com.google.inject.matcher.Matchers;
...