LogViewer NLog, Log4Net, Log4j 文本日志可视化

LogViewer 下载

示例:NLog文本日志可视化软件,并且能够实时监听输出最新的日志

nlog.config

通过udp方式传输给LogViewer (udp://ip:port)

XML 复制代码
<?xml version="1.0" encoding="utf-8" ?>
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      autoReload="true"
      throwExceptions="true"
      internalLogFile="c:\temp\console-example-internal.log"
      internalLogLevel="Info">
 <targets async="true">
  <target name="log4view" xsi:type="NLogVIewer" address="udp://10.200.200.175:7071"/>
 </targets>
 <rules>
  <logger name="*" minlevel="Trace" writeTo="log4view"></logger>
 </rules>
</nlog>

LogViewer 配置udp接收端口号

相关推荐
海兰1 天前
【第22篇】Evaluation Example
人工智能·spring boot·log4j·alibaba·spring ai
NCIN EXPE8 天前
SpringBoot Test详解
spring boot·后端·log4j
polaris06308 天前
Spring Boot 项目开发流程全解析
java·spring boot·log4j
yoyo_zzm10 天前
SpringBoot Test详解
spring boot·后端·log4j
marsh020610 天前
36 openclaw单元测试框架:编写可维护的测试代码
ai·单元测试·log4j·编程·技术
醇氧11 天前
【学习】软件过程模型全解析:从瀑布到敏捷的演进之路
学习·log4j
WiChP14 天前
【V0.1B6】从零开始的2D游戏引擎开发之路
java·log4j·游戏引擎
__zRainy__15 天前
Node.js 日志选型指南:Winston vs Log4js 全方位对比与实战
node.js·log4j·winston
希望永不加班20 天前
SpringBoot 集成测试:@SpringBootTest 与 MockMvc
java·spring boot·后端·log4j·集成测试
Howrun77724 天前
C++ 项目测试全指南:从 0 基础到落地实操
开发语言·c++·log4j