Project

General

Profile

Download (680 Bytes) Statistics
| Branch: | Tag: | Revision:
1
/**
2
* Copyright (C) 2009 EDIT
3
* European Distributed Institute of Taxonomy
4
* http://www.e-taxonomy.eu
5
*
6
* The contents of this file are subject to the Mozilla Public License Version 1.1
7
* See LICENSE.TXT at the top of this package for the full license terms.
8
*/
9
package eu.etaxonomy.cdm.io.common.events;
10

    
11
import org.apache.logging.log4j.LogManager;
12
import org.apache.logging.log4j.Logger;
13

    
14
/**
15
 * This IoObserver logs all events.
16
 *
17
 * @author a.mueller
18
 * @since 24.06.2011
19
 */
20
public class LoggingIoObserver implements IIoObserver {
21

    
22
	private static final Logger logger = LogManager.getLogger();
23

    
24
	@Override
25
	public void handleEvent(IIoEvent event) {
26
		logger.warn(event);
27
	}
28
}
(6-6/6)