mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
StaticLog rename to LogUtil
This commit is contained in:
@@ -27,7 +27,7 @@ import org.dromara.hutool.core.func.SerSupplier;
|
||||
import org.dromara.hutool.core.text.StrUtil;
|
||||
import org.dromara.hutool.core.text.CharUtil;
|
||||
import org.dromara.hutool.core.util.CharsetUtil;
|
||||
import org.dromara.hutool.log.StaticLog;
|
||||
import org.dromara.hutool.log.LogUtil;
|
||||
import org.dromara.hutool.setting.props.Props;
|
||||
|
||||
import java.io.File;
|
||||
@@ -232,7 +232,7 @@ public class Setting extends AbsSetting implements Map<String, String> {
|
||||
}
|
||||
});
|
||||
this.watchMonitor.start();
|
||||
StaticLog.debug("Auto load for [{}] listenning...", this.resource.getUrl());
|
||||
LogUtil.debug("Auto load for [{}] listenning...", this.resource.getUrl());
|
||||
} else {
|
||||
IoUtil.closeQuietly(this.watchMonitor);
|
||||
this.watchMonitor = null;
|
||||
@@ -273,7 +273,7 @@ public class Setting extends AbsSetting implements Map<String, String> {
|
||||
public Object getObjByGroup(final CharSequence key, final CharSequence group, final Object defaultValue) {
|
||||
final String result = this.groupedMap.get(group, key);
|
||||
if (result == null && logIfNull) {
|
||||
StaticLog.debug("No key [{}] in group [{}] !", key, group);
|
||||
LogUtil.debug("No key [{}] in group [{}] !", key, group);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
@@ -33,7 +33,7 @@ import org.dromara.hutool.core.reflect.ConstructorUtil;
|
||||
import org.dromara.hutool.core.text.StrUtil;
|
||||
import org.dromara.hutool.core.util.CharsetUtil;
|
||||
import org.dromara.hutool.core.util.ObjUtil;
|
||||
import org.dromara.hutool.log.StaticLog;
|
||||
import org.dromara.hutool.log.LogUtil;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
@@ -360,7 +360,7 @@ public final class Props extends Properties implements TypeGetter<CharSequence>
|
||||
BeanUtil.setProperty(bean, StrUtil.subSuf(key, prefix.length()), entry.getValue());
|
||||
} catch (final Exception e) {
|
||||
// 忽略注入失败的字段(这些字段可能用于其它配置)
|
||||
StaticLog.debug("Ignore property: [{}],because of: {}", key, e);
|
||||
LogUtil.debug("Ignore property: [{}],because of: {}", key, e);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user