From 8f2bd40241ad9ea0c8c2da572e496a31a2f85f26 Mon Sep 17 00:00:00 2001
From: pang.jiabao <pang_jiabao@163.com>
Date: 星期三, 17 九月 2025 10:06:28 +0800
Subject: [PATCH] LED大屏ADB调试功能
---
src/main/java/com/zy/core/netty/OnlineServer.java | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/main/java/com/zy/core/netty/OnlineServer.java b/src/main/java/com/zy/core/netty/OnlineServer.java
index f6e68ec..1b4c2d8 100644
--- a/src/main/java/com/zy/core/netty/OnlineServer.java
+++ b/src/main/java/com/zy/core/netty/OnlineServer.java
@@ -1,6 +1,7 @@
package com.zy.core.netty;
+import com.zy.utils.News;
import com.zy.core.netty.properties.TcpProperties;
import io.netty.bootstrap.ServerBootstrap;
import io.netty.buffer.PooledByteBufAllocator;
@@ -66,7 +67,7 @@
ResourceLeakDetector.setLevel(ResourceLeakDetector.Level.ADVANCED);
- log.info("TCP server started successfully, port锛歿}", tcpProperties.getPort());
+ News.info("TCP server started successfully, port锛歿}", tcpProperties.getPort());
channel = bootstrap.bind(tcpProperties.getPort()).sync().channel();
}
@@ -86,7 +87,7 @@
if (workerGroup != null) {
workerGroup.shutdownGracefully();
}
- log.info("TCP server stopped successfully, port: {}", tcpProperties.getPort());
+ News.info("TCP server stopped successfully, port: {}", tcpProperties.getPort());
}
}
--
Gitblit v1.9.1