简体   繁体   English

使用log4net进行实时日志查看-最好的appender /方法/查看器是什么

[英]Using log4net for live log viewing - what is the best appender/method/viewer

I've recently discovered log4net which is a great asset for me. 我最近发现了log4net ,这对我来说是一笔巨大的财富。 I'm currently logging events to a txt file using the RollingLogFileAppender . 我目前正在使用RollingLogFileAppender事件记录到txt文件中。 This works great but I'd really like to be able to have a logging viewer that I can pull up live. 这很好用,但是我真的很希望能够有一个日志查看器可以实时直播。

So I want a window that I keep up when my application is running and when new items are logged, they get displayed in the window. 因此,我需要一个窗口,当我的应用程序运行时,当我记录新项目时,它们会显示在窗口中。 I can handle how to parse and display the info, I just don't know how to get that info sent to me live using log4net . 我可以处理如何解析和显示信息,我只是不知道如何使用log4net将信息实时发送给我。

Any suggestions? 有什么建议么?

If you are talking about an application running on your machine or network, you can continue to log to the text file and use Baretail or Baretail Pro to view the files. 如果您正在谈论在计算机或网络上运行的应用程序,则可以继续登录到文本文件并使用BaretailBaretail Pro来查看文件。 (Prices currently range from $0 to $US 35) (目前价格从$ 0到$ 35不等)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM