Revision 25543 branches/v2_0_0_prep/libraries/libFMap_mapcontext/src/org/gvsig/fmap/mapcontext/layers/FLayers.java
FLayers.java | ||
---|---|---|
54 | 54 |
import javax.print.attribute.standard.PrintQuality; |
55 | 55 |
import javax.swing.ImageIcon; |
56 | 56 |
|
57 |
import org.apache.log4j.Logger; |
|
57 |
|
|
58 | 58 |
import org.cresques.cts.ICoordTrans; |
59 | 59 |
import org.cresques.cts.IProjection; |
60 | 60 |
import org.gvsig.fmap.dal.exception.DataException; |
... | ... | |
76 | 76 |
import org.gvsig.tools.task.Cancellable; |
77 | 77 |
import org.gvsig.tools.visitor.NotSupportedOperationException; |
78 | 78 |
import org.gvsig.tools.visitor.Visitor; |
79 |
import org.slf4j.Logger; |
|
80 |
import org.slf4j.LoggerFactory; |
|
79 | 81 |
|
80 | 82 |
import com.iver.utiles.XMLEntity; |
81 | 83 |
import com.iver.utiles.XMLException; |
... | ... | |
134 | 136 |
/** |
135 | 137 |
* Useful for debug the problems during the implementation. |
136 | 138 |
*/ |
137 |
protected static Logger logger = Logger.getLogger(FLayers.class.getName());
|
|
139 |
final static private Logger logger = LoggerFactory.getLogger(FLayers.class);
|
|
138 | 140 |
|
139 | 141 |
/* |
140 | 142 |
* (non-Javadoc) |
... | ... | |
219 | 221 |
|
220 | 222 |
callLayerAdded(LayerCollectionEvent.createLayerAddedEvent(layer)); |
221 | 223 |
} catch (CancelationException e) { |
222 |
logger.warn(e); |
|
224 |
logger.warn(e.getMessage());
|
|
223 | 225 |
} catch (LoadLayerException e) { |
224 | 226 |
layer.setAvailable(false); |
225 | 227 |
layer.addError(e); |
Also available in: Unified diff