diff --git a/blade-core-log/src/main/java/org/springblade/core/log/logger/BladeLogger.java b/blade-core-log/src/main/java/org/springblade/core/log/logger/BladeLogger.java index bd5ba41..3fab15f 100644 --- a/blade-core-log/src/main/java/org/springblade/core/log/logger/BladeLogger.java +++ b/blade-core-log/src/main/java/org/springblade/core/log/logger/BladeLogger.java @@ -16,7 +16,7 @@ package org.springblade.core.log.logger; import lombok.extern.slf4j.Slf4j; -import org.springblade.core.log.publisher.BladeLogPublisher; +import org.springblade.core.log.publisher.UsualLogPublisher; import org.springframework.beans.factory.InitializingBean; import org.springframework.beans.factory.annotation.Value; @@ -32,19 +32,19 @@ public class BladeLogger implements InitializingBean { private String serviceId; public void info(String id, String data) { - BladeLogPublisher.publishEvent("info", id, data); + UsualLogPublisher.publishEvent("info", id, data); } public void debug(String id, String data) { - BladeLogPublisher.publishEvent("debug", id, data); + UsualLogPublisher.publishEvent("debug", id, data); } public void warn(String id, String data) { - BladeLogPublisher.publishEvent("warn", id, data); + UsualLogPublisher.publishEvent("warn", id, data); } public void error(String id, String data) { - BladeLogPublisher.publishEvent("error", id, data); + UsualLogPublisher.publishEvent("error", id, data); } @Override diff --git a/blade-core-log/src/main/java/org/springblade/core/log/publisher/BladeLogPublisher.java b/blade-core-log/src/main/java/org/springblade/core/log/publisher/UsualLogPublisher.java similarity index 97% rename from blade-core-log/src/main/java/org/springblade/core/log/publisher/BladeLogPublisher.java rename to blade-core-log/src/main/java/org/springblade/core/log/publisher/UsualLogPublisher.java index 59823ea..ba6a693 100644 --- a/blade-core-log/src/main/java/org/springblade/core/log/publisher/BladeLogPublisher.java +++ b/blade-core-log/src/main/java/org/springblade/core/log/publisher/UsualLogPublisher.java @@ -31,7 +31,7 @@ import java.util.Map; * * @author Chill */ -public class BladeLogPublisher { +public class UsualLogPublisher { public static void publishEvent(String level, String id, String data) { HttpServletRequest request = WebUtil.getRequest();