[reSIProcate] how to use parameter of log::initialize in MFC

julien thai julienresiprocate at gmail.com
Tue May 17 08:39:21 CDT 2005


Thank to your instruction David.
 But unfortunately, my machine is one of some win machines
where we can't get files to write.
   

 On 5/16/05, David A. Bryan <davidbryan at gmail.com> wrote: 
> 
> You need to change it to write to Log::File.
> 
> Log::initialize(Log::File, resip::Log::Warning, "Application Name",
> "C:\toto.txt");
> 
> I actually have seen some win machines where I can't get files to
> write, but haven't been able to figure out why, and haven't had the
> time to dig into it too much.
> 
> Hope that helps.
> 
> --Dave
> 
> On 5/16/05, julien thai <julienresiprocate at gmail.com> wrote:
> > Dear all,
> >
> > Can you show me how to use log::initialize in MFC application?
> > I use like below, is it right???
> >
> > Log::initialize(Log::Cout, resip::Log::Warning, "c:\toto.txt" );
> >
> > The parameter of LogFileName is good or not??
> >
> > I am appreciated so much for your help
> >
> > Julien
> > _______________________________________________
> > resiprocate-devel mailing list
> > resiprocate-devel at list.sipfoundry.org
> > https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel
> >
> >
> 
> --
> David Bryan
> Please continue to send me email at the address bryan at ethernot.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20050517/8f9701f9/attachment.htm>


More information about the resiprocate-devel mailing list