平时写软件的时候, 常常需要输出调试内容
为了自己方便就写了个简单的小工具.


默认本地监听的UDP6789端口
public class DebugMessag
{
public enum type
{
Normal, Info, Success, Error, Warning
}
public type msgtype { get; set; }
public string msg { get; set; } = "";
public int time { get; set; } = Other.TimeStamp();
public string tag { get; set; } = "";
}
通讯内容格式如上, 格式化成标准的json格式即可
{"msgtype":0,"msg":"This is Normal","time":1666691254,"tag":"测试输出"}
附上代码截图 , 已证原创

下载地址:
https://luink.lanzoul.com/i8HWL0ejh8va
© 版权声明
文章版权归作者所有,未经允许请勿转载。如内容涉嫌侵权,请在本页底部进入<联系我们>进行举报投诉!
THE END


















- 最新
- 最热
只看作者