如何写日志文件? [英] How to write Log File??
本文介绍了如何写日志文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我从这里创建了一个应用程序,我们可以连接到第三方FTP服务器来下载文件.
我想写日志文件,我可以在其中插入谁以及下载哪个文件.下载是否完成.如果从用户站点或ftp站点断开连接..
我该怎么办.
谢谢
Seema
Hi,
I have created a application from here we can connect to third party FTP Server to download files.
I want to write log file where I can insert who and which file download. Whether download completed or not. If connection break from user site or ftp site..
How can I do this.
Thanks
Seema
推荐答案
您也可以查看 Log4Net [ ^ ]
您可以阅读此 [ ^ ]和此 [ ^ ]了解是否下载了完成.
You can read this[^] for the log, and this[^]for know if the download is completed.
这篇关于如何写日志文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文