开发者

Logging to stream

开发者 https://www.devze.com 2023-03-14 17:15 出处:网络
Is there an existing trace listener for enterprise library that could be used to write to a stream...such as a udp stream?Or would I need to create a custom trace listener?

Is there an existing trace listener for enterprise library that could be used to write to a stream...such as a udp stream? Or would I need to create a custom trace listener?

The idea for this came up in an Eclipse project with a legacy application. The only options the current project had 开发者_StackOverflowwas to log to the screen, or log to a rolling file. Logging to the screen was a pain and caused invalid html. Logging to the file was fine...but refreshing the file got old...It seems like it could be useful to have an option to log to a udp server console so you can info 'dumped' in real time.


Log4net has a UDP appender. You can find more information here

0

精彩评论

暂无评论...
验证码 换一张
取 消