diff --git a/README.md b/README.md
index 40c5cb1..4e19dfb 100644
--- a/README.md
+++ b/README.md
@@ -55,14 +55,14 @@ Maven 依赖
top.focess
focess-qq
- 4.1.4.5000
+ 4.1.4.6000
```
Gradle 依赖
```gradle
-implementation 'top.focess:focess-qq:4.1.4.5000'
+implementation 'top.focess:focess-qq:4.1.4.6000'
```
开发文档移步本项目[Wiki](https://github.com/MIdCoard/MiraiQQ/wiki)
diff --git a/pom.xml b/pom.xml
index bdb9e14..8f7e796 100644
--- a/pom.xml
+++ b/pom.xml
@@ -8,7 +8,7 @@
A simple QQ Bot framework
top.focess
focess-qq
- 4.1.4.5000
+ 4.1.4.6000
ossrh
@@ -35,7 +35,7 @@
1.1.12
1.1.6
1.0.2
- 1.0.2
+ 1.0.3
diff --git a/src/main/java/top/focess/qq/api/util/logger/FocessLogger.java b/src/main/java/top/focess/qq/api/util/logger/FocessLogger.java
index 835e973..2019ec3 100644
--- a/src/main/java/top/focess/qq/api/util/logger/FocessLogger.java
+++ b/src/main/java/top/focess/qq/api/util/logger/FocessLogger.java
@@ -2,6 +2,7 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
+import top.focess.net.socket.ASocket;
import top.focess.qq.FocessQQ;
import top.focess.qq.core.commands.util.ChatConstants;
import top.focess.qq.core.plugin.PluginCoreClassLoader;
@@ -128,6 +129,10 @@ public void trace(final String message, final Throwable e) {
* Note: if debug output is true, the debug message will be outputted as INFO level and DEBUG level, otherwise, it will be outputted as DEBUG level
*/
public void toggleDebugOutput() {
+ if (ASocket.isDebug())
+ ASocket.disableDebug();
+ else
+ ASocket.enableDebug();
this.debugOutput = !this.debugOutput;
}