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:
@@ -16,7 +16,7 @@ import org.dromara.hutool.core.lang.Singleton;
|
||||
import org.dromara.hutool.core.spi.SpiUtil;
|
||||
import org.dromara.hutool.core.text.StrUtil;
|
||||
import org.dromara.hutool.extra.pinyin.PinyinException;
|
||||
import org.dromara.hutool.log.StaticLog;
|
||||
import org.dromara.hutool.log.LogUtil;
|
||||
|
||||
/**
|
||||
* 简单拼音引擎工厂,用于根据用户引入的拼音库jar,自动创建对应的拼音引擎对象<br>
|
||||
@@ -43,7 +43,7 @@ public class PinyinEngineFactory {
|
||||
*/
|
||||
public static PinyinEngine createEngine() {
|
||||
final PinyinEngine engine = doCreateEngine();
|
||||
StaticLog.debug("Use [{}] Engine As Default.", StrUtil.removeSuffix(engine.getClass().getSimpleName(), "Engine"));
|
||||
LogUtil.debug("Use [{}] Engine As Default.", StrUtil.removeSuffix(engine.getClass().getSimpleName(), "Engine"));
|
||||
return engine;
|
||||
}
|
||||
|
||||
|
@@ -18,7 +18,7 @@ import org.dromara.hutool.core.spi.SpiUtil;
|
||||
import org.dromara.hutool.core.text.StrUtil;
|
||||
import org.dromara.hutool.extra.template.TemplateConfig;
|
||||
import org.dromara.hutool.extra.template.TemplateException;
|
||||
import org.dromara.hutool.log.StaticLog;
|
||||
import org.dromara.hutool.log.LogUtil;
|
||||
|
||||
/**
|
||||
* 简单模板引擎工厂,用于根据用户引入的模板引擎jar,自动创建对应的模板引擎对象<br>
|
||||
@@ -58,7 +58,7 @@ public class TemplateEngineFactory {
|
||||
*/
|
||||
public static TemplateEngine createEngine(final TemplateConfig config) {
|
||||
final TemplateEngine engine = doCreateEngine(config);
|
||||
StaticLog.debug("Use [{}] Engine As Default.", StrUtil.removeSuffix(engine.getClass().getSimpleName(), "Engine"));
|
||||
LogUtil.debug("Use [{}] Engine As Default.", StrUtil.removeSuffix(engine.getClass().getSimpleName(), "Engine"));
|
||||
return engine;
|
||||
}
|
||||
|
||||
|
@@ -16,7 +16,7 @@ import org.dromara.hutool.core.lang.Singleton;
|
||||
import org.dromara.hutool.core.spi.SpiUtil;
|
||||
import org.dromara.hutool.core.text.StrUtil;
|
||||
import org.dromara.hutool.extra.tokenizer.TokenizerException;
|
||||
import org.dromara.hutool.log.StaticLog;
|
||||
import org.dromara.hutool.log.LogUtil;
|
||||
|
||||
/**
|
||||
* 简单分词引擎工厂,用于根据用户引入的分词引擎jar,自动创建对应的引擎
|
||||
@@ -42,7 +42,7 @@ public class TokenizerEngineFactory {
|
||||
*/
|
||||
public static TokenizerEngine createEngine() {
|
||||
final TokenizerEngine engine = doCreateEngine();
|
||||
StaticLog.debug("Use [{}] Tokenizer Engine As Default.", StrUtil.removeSuffix(engine.getClass().getSimpleName(), "Engine"));
|
||||
LogUtil.debug("Use [{}] Tokenizer Engine As Default.", StrUtil.removeSuffix(engine.getClass().getSimpleName(), "Engine"));
|
||||
return engine;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user