开发者

Logging to stream

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜