private static TCLogger getLogger() { if (logger == null) { logger = ManagerUtil.getLogger("com.tc.dmap.eviction"); } return logger; }
private static TCLogger getLogger() { if (logger == null) { logger = ManagerUtil.getLogger("com.tc.dmap.eviction"); } return logger; }
private static TCLogger getLogger() { if (logger == null) { logger = ManagerUtil.getLogger("com.tc.dmap.eviction"); } return logger; }
private static TCLogger getLogger() { if (logger == null) { logger = ManagerUtil.getLogger("com.tc.dmap.eviction"); } return logger; }
public TCClusterLoggerAdapter(String name) { tclogger = ManagerUtil.getLogger(name); }
public TCClusterLoggerAdapter(String name) { tclogger = ManagerUtil.getLogger(name); }
private static TCLogger log() { if (logger == null) { // Doing this lazily to avoid initialization problems in the standalone context logger = ManagerUtil.getLogger(ComponentFactory.class.getName()); } return logger; }
/** * Creates a TerracottaLogger implementation whose name ends with the given string. * <p> * The supplied name is prefixed with a fixed value to ensure toolkit loggers are confined within a namespace. * * @param name logger identifier * @throws NullPointerException if the supplied name is null */ public TerracottaLogger(String name) { if (null == name) { throw new NullPointerException("Logger name can't be null"); } StringBuilder fullName = new StringBuilder(API_LOGGER_NAMESPACE); if (!name.startsWith(".")) { fullName.append("."); } fullName.append(name); this.delegate = ManagerUtil.getLogger(fullName.toString()); }
private void logEhcacheBuildInfo() { final TCLogger logger = ManagerUtil.getLogger(TerracottaClusteredInstanceFactory.class.getName()); ProductInfo ehcacheCoreProductInfo = new ProductInfo(); logger.info(ehcacheCoreProductInfo.toString()); }