-
Notifications
You must be signed in to change notification settings - Fork 1
Logging
papousek edited this page Apr 21, 2012
·
2 revisions
This extension configures logging (log4j and slf4j) to work properly.
-
configFile
- path to the configuration file for log4j (defaultly set to the file in core module) -
level
- the minimal level of message to display (DEBUG|INFO|WARN|ERROR|FATAL)
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class MyClass {
private static final Logger LOGGER = LoggerFactory.getLogger(MyClass.class);
public MyClass() {
LOGGER.info("created");
}
}