[slf4j-dev] svn commit: r1239 - slf4j/trunk/slf4j-ext/src/main/java/org/slf4j/ext
ceki at slf4j.org
ceki at slf4j.org
Thu Nov 20 12:21:11 CET 2008
Author: ceki
Date: Thu Nov 20 12:21:11 2008
New Revision: 1239
Modified:
slf4j/trunk/slf4j-ext/src/main/java/org/slf4j/ext/LoggerWrapper.java
slf4j/trunk/slf4j-ext/src/main/java/org/slf4j/ext/XLogger.java
slf4j/trunk/slf4j-ext/src/main/java/org/slf4j/ext/XLoggerFactory.java
Log:
- attempting to fix Bug 114
unit tests to follow
Modified: slf4j/trunk/slf4j-ext/src/main/java/org/slf4j/ext/LoggerWrapper.java
==============================================================================
--- slf4j/trunk/slf4j-ext/src/main/java/org/slf4j/ext/LoggerWrapper.java (original)
+++ slf4j/trunk/slf4j-ext/src/main/java/org/slf4j/ext/LoggerWrapper.java Thu Nov 20 12:21:11 2008
@@ -27,9 +27,9 @@
// is this logger instance a LocationAwareLogger
final boolean instanceofLAL;
- public LoggerWrapper(Logger logger, String fcqn) {
+ public LoggerWrapper(Logger logger) {
this.logger = logger;
- this.fqcn = fcqn;
+ this.fqcn = LoggerWrapper.class.getName();
if (logger instanceof LocationAwareLogger) {
instanceofLAL = true;
} else {
Modified: slf4j/trunk/slf4j-ext/src/main/java/org/slf4j/ext/XLogger.java
==============================================================================
--- slf4j/trunk/slf4j-ext/src/main/java/org/slf4j/ext/XLogger.java (original)
+++ slf4j/trunk/slf4j-ext/src/main/java/org/slf4j/ext/XLogger.java Thu Nov 20 12:21:11 2008
@@ -54,7 +54,9 @@
* underlying logger
*/
public XLogger(Logger logger) {
- super(logger, FQCN);
+
+ super(logger);
+ System.out.println("xxxxxxxxx");
}
/**
Modified: slf4j/trunk/slf4j-ext/src/main/java/org/slf4j/ext/XLoggerFactory.java
==============================================================================
--- slf4j/trunk/slf4j-ext/src/main/java/org/slf4j/ext/XLoggerFactory.java (original)
+++ slf4j/trunk/slf4j-ext/src/main/java/org/slf4j/ext/XLoggerFactory.java Thu Nov 20 12:21:11 2008
@@ -1,6 +1,5 @@
package org.slf4j.ext;
-import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
More information about the slf4j-dev
mailing list