StaticLog rename to LogUtil

This commit is contained in:
Looly
2023-05-15 20:03:12 +08:00
parent d0556a4e48
commit 4670f21a8c
22 changed files with 98 additions and 56 deletions

View File

@@ -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;
}

View File

@@ -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;
}

View File

@@ -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;
}