net.hycube.simulator.log.LogHelper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hycube-simulator Show documentation
Show all versions of hycube-simulator Show documentation
HyCube Simulator is a container running multiple HyCube node instances, providing an interface for performing operations on individual nodes.
package net.hycube.simulator.log;
public final class LogHelper {
protected static final String HYCUBE_PACKAGE = "net.hycube";
protected static final String USER_LOG_SUFFIX = "log.user";
protected static final String MESSAGES_LOG_SUFFIX = "log.messages";
protected static final String DEV_LOG_SUFFIX = "log.dev";
protected static org.apache.commons.logging.Log userLog = org.apache.commons.logging.LogFactory.getLog(HYCUBE_PACKAGE + "." + USER_LOG_SUFFIX);
protected static org.apache.commons.logging.Log msgLog = org.apache.commons.logging.LogFactory.getLog(HYCUBE_PACKAGE + "." + MESSAGES_LOG_SUFFIX);
protected static org.apache.commons.logging.Log devLog = org.apache.commons.logging.LogFactory.getLog(HYCUBE_PACKAGE + "." + DEV_LOG_SUFFIX);
protected LogHelper() {}
public static org.apache.commons.logging.Log getUserLog() {
return userLog;
}
public static org.apache.commons.logging.Log getMessagesLog() {
return msgLog;
}
public static org.apache.commons.logging.Log getDevLog() {
return devLog;
}
public static org.apache.commons.logging.Log getDevLog(Class> clazz) {
return org.apache.commons.logging.LogFactory.getLog(HYCUBE_PACKAGE + "." + DEV_LOG_SUFFIX + "." + clazz.getName());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy