本文整理了Java中org.tinygroup.logger.Logger.infoMessage()
方法的一些代码示例,展示了Logger.infoMessage()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Logger.infoMessage()
方法的具体详情如下:
包路径:org.tinygroup.logger.Logger
类名称:Logger
方法名:infoMessage
暂无
代码示例来源:origin: org.tinygroup/org.tinygroup.earthworm
public static void setLogSupport(String logSupportClass) {
try {
logSupport = (LogSupport) Class.forName(logSupportClass).newInstance();
LOGGER.infoMessage("using logSupportClass class:{}", logSupportClass);
} catch (Exception e) {
LOGGER.warnMessage("set logSupportClass exception,class:{},reason:{}",
logSupportClass, e.getClass().getName());
}
}
代码示例来源:origin: org.tinygroup/org.tinygroup.earthworm
public static void logInfo(String value) {
if (!StringUtil.isBlank(value)) {
LOGGER.infoMessage("{}", value);
}
}
}
代码示例来源:origin: org.tinygroup/org.tinygroup.earthworm
public static void setSampleTrier(String sampleTrierClass) {
try {
sampleTrier = (SampleTrier) Class.forName(sampleTrierClass)
.newInstance();
LOGGER.infoMessage("using sampleTrierClass class:{0}", sampleTrierClass);
} catch (Exception e) {
LOGGER.warnMessage("set sampleTrierClass exception.class:{0},reason:{1}",
sampleTrierClass, e.getClass().getName());
}
}
代码示例来源:origin: org.tinygroup/org.tinygroup.remoteconfig.zk
/**
* 刷新项目的配置
*/
private void refreshAppConfig(){
LOGGER.infoMessage("=====>重新获取远程配置信息并刷新,开始");
Map<String, String> newConfigMap = new HashMap<String, String>();
retrieveRemoteConfig(newConfigMap);
ConfigManagerFactory.getManager().replace(ConfigManagerFactory.TYPE_REMOTE, newConfigMap);
LOGGER.infoMessage("=====>重新获取远程配置信息并刷新,结束");
}
代码示例来源:origin: org.tinygroup/org.tinygroup.fileresolver
public static List<String> dealJarSource(FileResolver resolver, String path) {
List<String> list = new ArrayList<String>();
if (path.indexOf("!") < 0) {
path = path.substring(0, path.length() - "META-INF/MANIFEST.MF".length() - 1);
path = path.substring(path.indexOf(':') + 1);
list.add(path);
return list;
}
String[] pathArray = path.split("!");
if (pathArray.length <= 2) {
list.add(pathArray[0]);
return list;
}
LOGGER.infoMessage("存在jar包嵌套jar包的路径:{}", path);
try {
return FileDealUtil.unpack(pathArray);
} catch (IOException e) {
LOGGER.errorMessage("解析路径:{}发生异常", e, path);
return list;
}
}
代码示例来源:origin: org.tinygroup/org.tinygroup.earthworm
public void endLocal() {
LocalContext tmpContext = this.local;
if (tmpContext == null) {
LOGGER.infoMessage("end local:has no local to end");
} else if (tmpContext.isEnd()) {
LOGGER.infoMessage("end local:local has ended");
} else {
this.local = tmpContext.localParent;
tmpContext.setEnd(true);
tmpContext.endTime = (int) (System.currentTimeMillis() - tmpContext.startTime);
logService.logStage(EarthWormHelper.STAGE_END_LOCAL);
}
logService.changeMDC();
}
代码示例来源:origin: org.tinygroup/org.tinygroup.remoteconfig.zk
public void stateChanged(CuratorFramework client, ConnectionState newState) {
if(newState == ConnectionState.RECONNECTED){
LOGGER.infoMessage("====>zk session重连成功");
try {
if(ZKPublishManager.getNodeCache()==null){
ZKPublishManager.set(TinyConfigParamUtil.getClientId(), item, ZKPublishManager.getConfigPath());
LOGGER.infoMessage("====>zk session重连成功,客户端恢复注册成功!");
}catch (Exception e){
LOGGER.infoMessage("====>zk session重连成功,客户端恢复注册失败",e);
代码示例来源:origin: org.tinygroup/org.tinygroup.weblayerbase
startI18nProcess(applicationConfig);
logger.infoMessage("加载application常量配置...开始");
LocalPropertiesFileProcessor localFileProcessor = new LocalPropertiesFileProcessor(
applicationConfig);
logger.infoMessage("加载application常量配置...结束");
代码示例来源:origin: org.tinygroup/org.tinygroup.earthworm
LOGGER.infoMessage("trace name为空,不开启trace");
内容来源于网络,如有侵权,请联系作者删除!