geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r653591 - in /geronimo/server/trunk/framework/modules/geronimo-logging/src/main/java/org/slf4j/impl: StaticLoggerBinder.java StaticMDCBinder.java StaticMarkerBinder.java
Date Mon, 05 May 2008 20:37:03 GMT
Author: jdillon
Date: Mon May  5 13:37:02 2008
New Revision: 653591

URL: http://svn.apache.org/viewvc?rev=653591&view=rev
Log:
Add some basic details

Modified:
    geronimo/server/trunk/framework/modules/geronimo-logging/src/main/java/org/slf4j/impl/StaticLoggerBinder.java
    geronimo/server/trunk/framework/modules/geronimo-logging/src/main/java/org/slf4j/impl/StaticMDCBinder.java
    geronimo/server/trunk/framework/modules/geronimo-logging/src/main/java/org/slf4j/impl/StaticMarkerBinder.java

Modified: geronimo/server/trunk/framework/modules/geronimo-logging/src/main/java/org/slf4j/impl/StaticLoggerBinder.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-logging/src/main/java/org/slf4j/impl/StaticLoggerBinder.java?rev=653591&r1=653590&r2=653591&view=diff
==============================================================================
--- geronimo/server/trunk/framework/modules/geronimo-logging/src/main/java/org/slf4j/impl/StaticLoggerBinder.java
(original)
+++ geronimo/server/trunk/framework/modules/geronimo-logging/src/main/java/org/slf4j/impl/StaticLoggerBinder.java
Mon May  5 13:37:02 2008
@@ -30,4 +30,19 @@
 public class StaticLoggerBinder
     implements LoggerFactoryBinder
 {
+    public static final StaticLoggerBinder SINGLETON = new StaticLoggerBinder();
+    
+    private final ILoggerFactory factory;
+
+    public StaticLoggerBinder() {
+        // TODO:
+    }
+    
+    public ILoggerFactory getLoggerFactory() {
+        return factory;
+    }
+
+    public String getLoggerFactoryClassStr() {
+        // TODO:
+    }
 }

Modified: geronimo/server/trunk/framework/modules/geronimo-logging/src/main/java/org/slf4j/impl/StaticMDCBinder.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-logging/src/main/java/org/slf4j/impl/StaticMDCBinder.java?rev=653591&r1=653590&r2=653591&view=diff
==============================================================================
--- geronimo/server/trunk/framework/modules/geronimo-logging/src/main/java/org/slf4j/impl/StaticMDCBinder.java
(original)
+++ geronimo/server/trunk/framework/modules/geronimo-logging/src/main/java/org/slf4j/impl/StaticMDCBinder.java
Mon May  5 13:37:02 2008
@@ -29,4 +29,15 @@
  */
 public class StaticMDCBinder
 {
+    public static final StaticMDCBinder SINGLETON = new StaticMDCBinder();
+
+    private StaticMDCBinder() {}
+
+    public MDCAdapter getMDCA() {
+        return new NOPMakerAdapter();
+    }
+
+    public String  getMDCAdapterClassStr() {
+        return NOPMakerAdapter.class.getName();
+    }
 }

Modified: geronimo/server/trunk/framework/modules/geronimo-logging/src/main/java/org/slf4j/impl/StaticMarkerBinder.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-logging/src/main/java/org/slf4j/impl/StaticMarkerBinder.java?rev=653591&r1=653590&r2=653591&view=diff
==============================================================================
--- geronimo/server/trunk/framework/modules/geronimo-logging/src/main/java/org/slf4j/impl/StaticMarkerBinder.java
(original)
+++ geronimo/server/trunk/framework/modules/geronimo-logging/src/main/java/org/slf4j/impl/StaticMarkerBinder.java
Mon May  5 13:37:02 2008
@@ -31,4 +31,15 @@
 public class StaticMarkerBinder
     implements MarkerFactoryBinder
 {
+    public static final StaticMarkerBinder SINGLETON = new StaticMarkerBinder();
+
+    private final IMarkerFactory factory = new BasicMarkerFactory();
+
+    public IMarkerFactory getMarkerFactory() {
+        return factory;
+    }
+
+    public String getMarkerFactoryClassStr() {
+        return BasicMarkerFactory.class.getName();
+    }
 }



Mime
View raw message