|
|
|
@ -53,8 +53,9 @@ public class LogFactoryService extends LogFactory { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Just in case some code happens to call uncommon Commons Logging methods...
|
|
|
|
// Just in case some code happens to rely on Commons Logging attributes...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
public void setAttribute(String name, Object value) { |
|
|
|
public void setAttribute(String name, Object value) { |
|
|
|
if (value != null) { |
|
|
|
if (value != null) { |
|
|
|
this.attributes.put(name, value); |
|
|
|
this.attributes.put(name, value); |
|
|
|
@ -64,19 +65,19 @@ public class LogFactoryService extends LogFactory { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
public void removeAttribute(String name) { |
|
|
|
public void removeAttribute(String name) { |
|
|
|
this.attributes.remove(name); |
|
|
|
this.attributes.remove(name); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
public Object getAttribute(String name) { |
|
|
|
public Object getAttribute(String name) { |
|
|
|
return this.attributes.get(name); |
|
|
|
return this.attributes.get(name); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
public String[] getAttributeNames() { |
|
|
|
public String[] getAttributeNames() { |
|
|
|
return this.attributes.keySet().toArray(new String[0]); |
|
|
|
return this.attributes.keySet().toArray(new String[0]); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void release() { |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|