@SuppressWarnings("unchecked")
    public void setAttribute(String name, Object value) {

        if (value == null) {
            attributes.remove(name);
        } else {
            attributes.put(name, value);
        }

    }
Set the configuration attribute with the specified name. Calling this with
a <code>null</code> value is equivalent to calling
<code>removeAttribute(name)</code>.

@param name
         Name of the attribute to set
@param value
         Value of the attribute to set, or <code>null</code> to remove
         any setting for this attribute
jcl-over-slf4j/src/main/java/org/apache/commons/logging/impl/SLF4JLogFactory.java