日志文件的实现 [英] implementation of log file

查看:82
本文介绍了日志文件的实现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我想在wcf项目中实现日志文件类,然后必须调用
其方法在此项目的其他类中.

在失败的情况下知道调用已完成(if(ser.ConsulterFacture(NUM_FACTURE).Equals(-1))).
但是我对如何实现日志文件的类一无所知.


如果有人有主意,请帮助我:((:((:(((

Hi,
I want to implement log file class in my wcf project then i have to call
its methods in an other class in this project .

Knowing that the call has done in the case of failure (if (ser.ConsulterFacture(NUM_FACTURE).Equals(-1))) .
But i haven''t any idea about how to implement the class of log file.


If any one have an idea , please help me :(( :(( :((

推荐答案

如果我是你,我会看看Daniel Vaughan'的出色实现,称为 CLog [ ^ ].
If I were you, I''d look at Daniel Vaughan''s excellent implementation called CLog[^].


非常感谢您的帮助
:) :):)
Thank you very much for your help
:) :) :)


这篇关于日志文件的实现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆