See: Description
Interface | Description |
---|---|
Logger |
An object that provides logging operations, filtered by
Level s. |
Class | Description |
---|---|
NeoLogger |
The factory that creates instances of
Logger s. |
Enum | Description |
---|---|
Level |
An object used for identifying the severity of an event.
|
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.
Copyright © 2013–2017 Atlanmod INRIA LINA Mines Nantes. All rights reserved.