Skip navigation links

Package fr.inria.atlanmod.neoemf.util.logging

Provides classes for logging information and events.

See: Description

Package fr.inria.atlanmod.neoemf.util.logging Description

Provides classes for logging information and events.

This package contains the classes related to NeoEMF logging service. The NeoLogger class defines a set of static methods to log information, warnings, or errors. It is possible to use MessageFormat style in logged information.

Client code can use the NeoEMF logger to log application-level information if needed using the following code:


 NeoLogger.trace("a trace message");
 NeoLogger.debug("a debug message");
 NeoLogger.info("an information message");
 NeoLogger.warn("a warning message");
 NeoLogger.error("an error message");
 NeoLogger.fatal("a fatal message");
 

NeoLogger uses Log4j as its internal logger, with a default configuration that only logs info, warn, error, and fatal messages. If you want to log trace and debug messages you have to specify it in a dedicated log4j2.xml file.

Skip navigation links

Copyright © 2013–2017 Atlanmod INRIA LINA Mines Nantes. All rights reserved.